VB6-VB.NET
-
Hello. I got a project in VB6 and I want to convert it to .NET. This project also includes Crystal Reports and I am having hard time to convert it because nthg seems to work. Is there anyway to convert this project form by form (one form in a time) By your experience which is the simple way of converting without having the trouble of writing everything from the beginning. Im mostly interested in converting forms because dont want want to recreate all the properties from the scratch. Best regards
-
Hello. I got a project in VB6 and I want to convert it to .NET. This project also includes Crystal Reports and I am having hard time to convert it because nthg seems to work. Is there anyway to convert this project form by form (one form in a time) By your experience which is the simple way of converting without having the trouble of writing everything from the beginning. Im mostly interested in converting forms because dont want want to recreate all the properties from the scratch. Best regards
The simplest way is to open the old VB6 project file (.vbp) in Visual Studio .NET. It'll launch the conversion wizard and try and convert the project for you. This does not work in the Express Edition! Warning! You'll probably have to fix up a bunch of the code. No conversion tool is going to do a perfect job.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
Hello. I got a project in VB6 and I want to convert it to .NET. This project also includes Crystal Reports and I am having hard time to convert it because nthg seems to work. Is there anyway to convert this project form by form (one form in a time) By your experience which is the simple way of converting without having the trouble of writing everything from the beginning. Im mostly interested in converting forms because dont want want to recreate all the properties from the scratch. Best regards
KORCARI wrote:
I got a project in VB6 and I want to convert it to .NET.
There's a http://msdn.microsoft.com/en-us/vbasic/ms789185.aspx[^] at Microsoft that deals with the issue's that you can expect during a migration.
KORCARI wrote:
Is there anyway to convert this project form by form (one form in a time)
Yup. May I suggest the http://msdn.microsoft.com/en-us/vbasic/bb419144.aspx[^]? The toolkit can be used to add VB.NET forms to your VB6 application, giving you also the ability to migrate them one at a time. There's also an Interop Forms Toolkit 2.0 Tutorial[^] that explains how to extend VB6-applications using C#. Good luck :)
I are Troll :suss: