Results 1 to 13 of 13

Thread: Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb.net

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2012
    Posts
    105

    Question Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb.net

    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.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2012
    Posts
    105

    Smile Re: Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb

    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.

  4. #4
    Fanatic Member ThomasJohnsen's Avatar
    Join Date
    Jul 2010
    Location
    Denmark
    Posts
    528

    Re: Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb

    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)

  5. #5
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb

    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.

  6. #6
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb

    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

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Mar 2012
    Posts
    105

    Re: Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb

    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

  8. #8
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb

    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 -

  9. #9
    Fanatic Member
    Join Date
    Jan 2006
    Posts
    710

    Re: Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb

    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

  10. #10

    Thread Starter
    Lively Member
    Join Date
    Mar 2012
    Posts
    105

    Re: Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb

    Ok thanks for your replay, yes i would like your information. thanks

  11. #11
    Fanatic Member ThomasJohnsen's Avatar
    Join Date
    Jul 2010
    Location
    Denmark
    Posts
    528

    Re: Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb

    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)

  12. #12

    Thread Starter
    Lively Member
    Join Date
    Mar 2012
    Posts
    105

    Re: Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb

    Thanks everyone for your help.

  13. #13
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: Hi i have a realy big vb6.0 project and i was wandering if theres a convert to vb

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width