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 SkipVought 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
  • Order by date
  1. Ken01

    Hyperbolic Trig functions

    Here is the sample code (calls to the relevant trig functions are highlighted : It was adapted from code downloaded from a VB 6 "shareware" website Variable declarations Rem Main Loop For Count = Xst - 2 * MyPi To Xst + 2 * MyPi Step 3 'Step++ = Faster; Step-- = Slower '...
  2. 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...
  3. 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...
  4. 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?
  5. Ken01

    I have a program, developed in VB6

    I have found I can get round the problem by making the changes on the XP laptop and transferring the exe file over to the W7 PC. The same approach also works for W10. Thank you to those who wrote a reply.
  6. 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...
  7. Ken01

    how to read the coordinates in from this file

    Polygons are much easier to draw using Visual Basic Net where it is a standard feature.
  8. 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.
  9. Ken01

    VB 2010 Abacus program.

    And this is what a screen should like : https://files.engineering.com/getfile.aspx?folder=65f3864f-53d2-4b6d-8707-2024aaa36022&file=Test_Contain01.jpg
  10. Ken01

    VB 2010 Abacus program.

    Sorry for the delay. Here is the error message : https://files.engineering.com/getfile.aspx?folder=533f164a-2ce0-4385-b2b5-d67412be4a20&file=Test_Contain_Err.jpg
  11. 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...
  12. 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...
  13. Ken01

    Point of sale datagridview help

    This should be relatively straight forward in code. Something along the lines of : If count(Prd_items) >= 3 then' ensure this refers to same item and not all items on grid. price = prom_price else [indent][indent]prd_price = normal_price endif
  14. 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?
  15. 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...
  16. Ken01

    Problem with form names in VB6

    I am using W7. On an older PC with Windows XP the issue doesn't occur.
  17. 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...
  18. Ken01

    VB 6 Trig functions

    Thank-you.
  19. Ken01

    VB.Net Group control boxes

    Thank you.

Part and Inventory Search

Back
Top