Solved

Converting VB6 to VB.NET Errors ?

Posted on 2004-09-29
5
304 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

733 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