Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb.net 2010 or how can i convert it please help thanks.![]()
Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb.net 2010 or how can i convert it please help thanks.![]()
VB 2010 didn't come with a conversion wizard but there is a free one that you can download from MSDN. That said, don't assume that you'll be able to just run the wizard over it and then deploy the app. There will likely be lots of issues to fix afterwards and the end result will not be anything that any self-respecting VB.NET developer would be proud of. Most people will tell you that, as long as you have a decent grasp of VB.NET, you'll get a much better result and possibly even spend less time redeveloping from scratch. There is also a Forms Interop Toolkit that lets you build pices of applications in VB.NET and then use them in VB6 apps, which allows you to convert your application to VB.NET piecemeal.
2007-2013
Why is my data not saved to my database? | Communicating between multiple forms | MSDN Data Walkthroughs
MSDN "How Do I?" Videos: VB | C#
VBForums Database Development FAQ
My CodeBank Submissions: VB (*NEW* Match Two Game, *NEW* More Random Random Numbers) | C# (*NEW* Match Two Game, *NEW* More Random Random Numbers)
My Blog: Using Parameters in ADO.NET | Keyboard Events | Assemblies & Namespaces
Ok ya i know vb.net 2010 so if you said it will be easier to just start over then i will i just thought it would be easier to just convert it but thats ok thanks for your replay.I will start it over i realy did not like the old project anywas thanks agine.![]()
There is a member here, who converts C#, VB.Net, VB6, Java etc.
He does this for a living though, so you'll have to pay to get it converted (no idea about price though - assume it'll depend on the complexity and time-consumption).
If you are interested, I can try to dig up a link.
In truth, a mature man who uses hair-oil, unless medicinally , that man has probably got a quoggy spot in him somewhere. As a general rule, he can't amount to much in his totality. (Melville: Moby Dick)
You could convert it to 2008 and then convert that to 2010. We converted medium sized application, I should say we hired a contractor to do it, and when it was all said and done everyone agreed we should have written it from scratch. Here is the 2008 express version which is free.
http://www.microsoft.com/visualstudi...itions/express
Last edited by TysonLPrice; Aug 9th, 2012 at 05:16 AM.
One thing I would say is that a re-write is going to prove to be VASTLY simpler than starting from scratch. Many individual functions can be copied and pasted from one to the other with minimal changes, and much of the overall design structure may stay the same. In my experience, which is modest in this area, is that re-writing a VB6 app into .NET takes only a tiny fraction of the time of the initial writing.
My usual boring signature: Nothing
Hi ThomasJohnsen i was going to just start all over but then i look at my code and said i need to pay someone to convert this for me, if you dont mind can you find that person thanks. I will try to us the 2008 converter to see if that works, even if it just dose a little bit of the code then i can just delete the ones that vb.net dose not know and add in the rest, what do you think? its a very big project and i just dont what to use vb6 anymore so im moving all my programs to vb 2010 i have done all but this one, I realy dont mind recodeing it to vb.net 2010 its just will take me a long time so im trying to find an esar way to do this. thanks all for your replay![]()
The person that Thomas mentioned could be David Anton. He's an expert in converting code between VB, C# and Java.
Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
- Abraham Lincoln -
I've done a few big VB6 to VB.NET conversions a few years ago, but am no longer doing these conversions.
This is exactly how I performed the conversions:
1. Prepare the VB6 code base by following recommendations in the book "Upgrading Visual Basic 6.0 to Visual Basic.NET" from Microsoft Press. I can give you some information on this if you'd like.
2. Get Visual Studio 2008 - it's the last version with the VB upgrade wizard.
3. Run the conversion.
4. Make adjustments to get your code to compile and run - I also have notes on this if you want them. The book I mentioned above was invaluable for this also.
The conversions I did a few years ago were successful - it certainly is possible and it was far less expensive than a total rewrite. But be prepared for some pain and tedium.
David Anton
Convert between VB, C#, C++, & Java
www.tangiblesoftwaresolutions.com
Instant C# - VB to C# Converter
Instant VB - C# to VB Converter
Ok thanks for your replay, yes i would like your information. thanks
It was indeed David Anton, I was thinking about. And fortunately he noticed this himself![]()
In truth, a mature man who uses hair-oil, unless medicinally , that man has probably got a quoggy spot in him somewhere. As a general rule, he can't amount to much in his totality. (Melville: Moby Dick)
Thanks everyone for your help.![]()
Another suggestion if you are going to go the 2008 to 2010 route. Download MZTools and use the review code option. It will flag all the unused variables and procedures that can don't get executed. No sense dragging them along.
http://www.mztools.com/v3/download.aspx