How to Convert Code from VB to C++?

How can I convert VB6 code to VB 2008?

  • ive tried opening a vb6 file with vb 2008 express and it failed, so is there anyway to do it without rewriting the code?

  • Answer:

    Copy all the code from your VB6 project and into a new VB08 Project. Then edit out any errors you get. They may/should be only a couple.

Jeff at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

in my experience, the best way is to write from scratch. You can reuse parts of the code of course, but the change in paradigm is too big for a straight conversion.

If the program is of any size, you'll get enough errors that you can open an error-selling business. But the only way to port VB6 to VB dot net is by hand. No one has written a good porting program. (Even the automatic conversion in 2003 left half the program or more to be hand-converted.)

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.