Solved

Converting VB6 to VB.NET Errors ?

Posted on 2004-09-29
5
302 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

816 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

13 Experts available now in Live!

Get 1:1 Help Now