Solved

Converting VB6 to VB.NET Errors ?

Posted on 2004-09-29
5
300 Views
Last Modified: 2010-04-23
i convert my old project from VB6 to VB.NET, i found more errors. is there any site i can find to solve these convertion problems.
0
Comment
Question by:Viji4u
  • 2
5 Comments
 
LVL 18

Assisted Solution

by:armoghan
armoghan earned 60 total points
Comment Utility
i dont know about a tool to convert the VB6 to VB.NET . probably there is no one, due to major differences in language.. and if you find any that would be doing just primitive conversion

But this article can show you what are different things in VB and how do they translate into VB.NET

http://www.thescarms.com/vbasic/VB6vsVBNet.asp
0
 
LVL 18

Assisted Solution

by:armoghan
armoghan earned 60 total points
Comment Utility
0
 
LVL 25

Accepted Solution

by:
RonaldBiemans earned 35 total points
Comment Utility
Just a side note, Don't convert. Write the application from scratch it will produce far better code than any conversion tool ever will, plus as an added bonus you will learn a new language aswell.

Having to depend on InterOP and wrapped objects from legacy code slows down your application a great deal.  Especially the old error trapping methods.  
0
 
LVL 44

Assisted Solution

by:Arthur_Wood
Arthur_Wood earned 30 total points
Comment Utility
I 1000% agree with RonaldBiemans - NEVER try to convert a VB 6 app to VB.NET (even with the Wizard), if your VB 6 app consists of ANYTHING more sophisticated than "Hello World".

The basic design methodology of a .NET app is so much different from the sdesign approach used for 99% of all VB 6 apps that any attempt at conversion of the VB 6 app to VB.NET will produce far more work (attemting to resolve the 'errors') than would have been the case if you simply re-write the app, from scratch, in VB.NET - using the proper development appraoch for a .NET application.

AW
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now