Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Ken01
  • Content: Threads
  • Order by date
  1. Ken01

    Upgrading a VB 6 Classic program to VB.Net (VB 2010)

    Hello Recently I converted a VB 6 program which contained public record structures using the VB 2010 upgrade option. There were surprisingly few syntax errors which were easily resolved. The program does however use public record structures for storing data in external random access files...
  2. Ken01

    Auto changing of small font sizes

    I am converting a batch of VB6 programs into VB.Net Most contain many instances of Ariel / MS Sans Serif font size 8 (labels, text boxes etc) and I was wondering if there was a rapid way of changing these to font size 10 without going through them individually ?
  3. Ken01

    Areas under graphs and overlap areas between circles.

    Good Morning, I was wondering if anyone could point me in the direction of finding code that would shade in the overlap areas between circles and also the areas under and between graphs ?
  4. Ken01

    Extraction of Picture box point / pixel colors.

    I am using the following code to examine the color of each point on a picture box and then changing it before redisplaying as a different color on a 2nd picturebox. Although it works I was wondering if other colors outside the RGB range could be utilised ? Also I have been unable to find any...
  5. Ken01

    Hyperbolic Trig functions

    Owing to VB6 not having the standard Hyperbolic Trig functions (Sinh, Cosh etc) I have written routines to calculate them from scratch, e.g Sinh(x) = (e^x - e^-x)/2 and Cosh(x) = (e^x + e^-x)/2 However when multiple calculations are required within a loop then the process grinds to a halt as it...
  6. Ken01

    Use of Trig functions in VB 2010

    I have a program which uses the Arcsin and Arccos features of the language. I have found that if the value to be converted into an angle is 1 or greater then the calculated value returns as "Nan". If the value is less than 1 then the angle calculates correctly. Is this a known problem and are...
  7. Ken01

    Use of DirectDraw in Visual Basic Net

    I am trying to convert 2 programs from VB6 into VB 2010. Both use Direct Draw graphics features and generate dozens of conversion errors. Basically each time Direct Draw is referenced. Have you any ideas on how to handle these?
  8. Ken01

    I have a program, developed in VB6

    I have a program, developed in VB6 on Windows XP, which extensively uses the Compute.Eval method to perform calculations based on inputted text (e.g x*Sin(X), Log(X) etc). However when moved on to a Windows 7 environment the program no longer works, except when the compute statement is removed...
  9. Ken01

    Display Imageboxes on a PictureBox

    Is it possible to display one or more imageBox(es) on a pictureBox? I have tried this but the imagebox disappears when dragged on to the picture box.
  10. Ken01

    VB 2010 Abacus program.

    Around 8 years ago I downloaded a VB 2010.Net program from Microsoft which has source code for creating and manipulating an on screen Abacus. The program works when it is run directly from the source code. However when an executable is created this crashes out with an undecipherable error...
  11. Ken01

    Problem with CopyMemory statement

    I have a legacy VB6 graphics program which achieves realistic scrolling using the CopyMemory feature. When I move the program from Windows XP to W7 (or higher) the program crashes on attempting to run. Removing CopyMemory solves that problem but much functionality is lost. Are there any...
  12. Ken01

    Conversion of VB.Net Windows projects to Web projects

    I have a dozen or so programs written as Windows applications in VB.Net and would like to convert them to Web applications. Is this a straight forward task or are there many difficulties?
  13. Ken01

    VB picturebox graphics

    I have downloaded a VB6 program from a source code website. The program uses hundreds of horizontal and vertical lines which can be moved around and made visible or invisible as desired. Unfortunately the original programmer displayed everything on the Form and I have tried to introduce a...
  14. Ken01

    Problem with form names in VB6

    Sometimes when I open an (old) VB6 Project and make changes to a form (e.g form1.frm) instead of saving the changes to form1 the system insists on renaming the form usually to something like 1.frm or &.frm. Is this a sign that the Project has become corrupted and can anything be done to remedy...
  15. Ken01

    VB 6 Trig functions

    In the absence of ArcSin and ArcCos functions in Classic VB is there a way these can be determined by another method?
  16. Ken01

    VB.Net Group control boxes

    Using VB.Net 2005 I have set up 30 text boxes enclosed within a Group control. I then try to populate them using a For each (item) in Group statement. The text boxes do get populated but in REVERSE order. Why is this ?
  17. Ken01

    Printing on a VB6 Picturebox

    How can text be printed on a VB6 Picturebox control Labels don't seem to be permitted.
  18. Ken01

    Use of Directdraw control in VB.Net

    Good evening. I have several VB6 programs which use the Direct Draw control method for displaying graphics. When I try to convert these into Visual Basic 2008 programs I encounter dozens of errors which can only be removed by commenting out any line which refers to Direct Draw. I realise one...
  19. Ken01

    VB6 Graphics

    I have some old VB6 programs, originally written for XP environment which use statements such as CopyMemory and features of Glut32.DLL. However when migrated to Windows 7 or higher they no longer work. Any ideas of a work-around ?
  20. Ken01

    Graphics in VB6

    Is it possible to draw a curved line between 2 points in Visual Basic 6 ? I know that VB.Net has a bezier function for the task.

Part and Inventory Search

Back
Top