hey guys...!
I recently made a video rental system in VB6 and it works well, its a project for Uni...
But i found out it has to be made in .NET...! :eek:
So, is there any way of converting VB6 to .NET quickly...??? :confused:
:wave:
Printable View
hey guys...!
I recently made a video rental system in VB6 and it works well, its a project for Uni...
But i found out it has to be made in .NET...! :eek:
So, is there any way of converting VB6 to .NET quickly...??? :confused:
:wave:
There is a vb6-vb.net upgrade wizard but it produces ugly code. :)
where do i get this from.....???
:confused:
thanks!
The frog didn't add this: DON'T GO THERE!!
I think the wizard comes with some visual studio versions, but I have never looked for one simple reason: It reeeaallly sucks!
You might be better off doing it by hand. The syntax hasn't changed much between the two languages, though the design has changed pretty dramatically.
You can pretty much design forms the same way as you did in VB6, then copy the code from control events in the old to control events in the new. Of course, you will get many compile errors for the places where things changed, but the general flow of the code will remain the same. If the project isn't too big, this is probably a poor option, but better than the conversion wizard.
Hm, funny how you wait years for a program to deal with video rentals and then two come along at once...
Really, as the Shaggy One suggests, don't do it. What might have been an A grade VB6 project will turn into an E grade .Net project, and it will be really obvious what you've done to boot.
There isn't too much difference between vb6 and .net in the end. The easiest way to do it properly, if you have the time, is definitely to redesign the form and then copy the code to the controls one by one. It will automatically underline where you have something wrong, not declaring variables and such like, and then you just go through those one by one as well.
If it needs to be in tomorrow, the Upgrade wizard is included with VB.Net
zaza
If you are working on it now, and it ISN'T due tomorrow, you aren't the kind of student I was ;)
thanks for the help guys.... :thumb:
i'll try do something with it...!
to be honest im really no good at this VB stuff...!
i'll let y'all know how i get on...! :sick:
thanks!