CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    1

    Converting from VB4 to VB6



    Hi!!!


    Wondering if anyone have experience in converting Visual Basic 4

    16bit systems to VB 6, 32bit. I understand that VBX controls, especially

    from third part vendors, can cause problems. What other problems,

    pitfalls are there? Brief descriptions will do, no details necessary.


    Thanks in advance


    /Johan Jarlen

  2. #2
    Join Date
    Apr 1999
    Location
    Rotterdam, Netherlands
    Posts
    278

    Re: Converting from VB4 to VB6



    The main problem you will find are indeed the controls you use.

    According to syntaxing and ****, you will find that VB 6 has some cool extra features, but as always, Microsoft made sure it's backwards compatible.


    If you use API functions, make sure that you not only replace the 16 bit with the 32 bit declarations/constants/types, but also the variables you use internally. Mostly integers to long (since 16 bit uses integers where 32 bit mostly use longs)


    I think that will be the most important things to take care of.


    Hope it helps


    Crazy D

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured