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
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:
- How can I convert UTF-16 file to UTF-8?Best solution by Stack Overflow
- How can I convert Matlab code to c#?Best solution by Stack Overflow
- How can I convert the query from SQL to LINQ?Best solution by Stack Overflow
- How can I convert a string number to a number in Perl?Best solution by Stack Overflow
- How Can I Convert Struct?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.