DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: VB3 to VB6- Code Conversion

  1. #1
    Join Date
    Sep 2006
    Posts
    17

    VB3 to VB6- Code Conversion

    Hi all,

    I have a VB3 source code in ASCII that needs to be converted to VB6.
    Have tried with 'upgrwzrd' tool but it failed. Is there any other way to fulfill the need?

    Swapna

  2. #2
    Join Date
    Dec 2003
    Posts
    2,750
    What do you mean by failed? Did you get any error messages?

    Remember to upgrade 3rd Party VBX controls you must have corresponding 32-bit ActiveX controls installed on your machine.
    Paul
    ~~~~
    Microsoft MVP (Visual Basic)

  3. #3
    Join Date
    Sep 2006
    Posts
    17
    Yes the tool is not able to upgrade the VB3 VBX controls to 32-bit OCX controls. As you say I should have OCX equivalents of VBX. Anyways, I tried opening the VB3 .MAK with VB6. I am able to run the code in VB6. For now, the problem is solved but can i know if there is any standard way to convert VB3 to VB6?

    Swapna

  4. #4
    Join Date
    Dec 2003
    Posts
    2,750
    Other than the 'upgrwzrd' I'm afraid the only other method is manually copying and pasting the code. Like I said I don't know what errors, if any, you encountered so it's a bit difficult to troubleshoot or provide an alternative means of conversion.
    Paul
    ~~~~
    Microsoft MVP (Visual Basic)

  5. #5
    Join Date
    Sep 2006
    Posts
    17
    Before loading the VB3 project to VB6 IDE,i came across an error msg which said that there are no 32-bit controls for the listed VBX controls since they are custom controls. As mentioned by 'pclement', if the controls are from 3rd party, then equivalent 32-bit controls should be installed for proper conversion.

Similar Threads

  1. Why integer and int32
    By Michael Culley in forum .NET
    Replies: 154
    Last Post: 05-10-2002, 12:06 PM
  2. Code security
    By Rob Teixeira in forum .NET
    Replies: 5
    Last Post: 11-27-2001, 07:12 PM
  3. Brain Washing
    By Danny Bowman in forum .NET
    Replies: 152
    Last Post: 09-13-2001, 07:23 AM
  4. Replies: 2
    Last Post: 02-21-2001, 12:47 PM
  5. Good Editorial by Russell Jones
    By Robert G in forum .NET
    Replies: 84
    Last Post: 02-08-2001, 03:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center