Solved

Converting VB6 to VB.NET Errors ?

Posted on 2004-09-29
5
301 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
ID: 12178277
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
ID: 12178389
0
 
LVL 25

Accepted Solution

by:
RonaldBiemans earned 35 total points
ID: 12178451
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
ID: 12178808
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Clone Visual studio 2013 solution 5 24
Enable copy and pasting even when textbox is disabled 2 26
Showdialog 8 29
VS.net 2010 11 22
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 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

21 Experts available now in Live!

Get 1:1 Help Now