Results 1 to 11 of 11

Thread: vb6 -> .net?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    216

    vb6 -> .net?

    is there any kind of translater out there that i can put in my old vb6 code and have it come out as .net format? i know there are some for c but any for vb6??

    Thanks

  2. #2
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    I think there is a converter included with Visual Studio.NET

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    216
    Could you tell me where that could be found/accesed?

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    The converter wizard is junk. Learn .NET then re-write your app. or leave it in VB6.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    216
    well the thing is, i bought a book and i was kind of in a hurry so i just made sure it was in vb but then i found out it was vb6, so are you sure that the wizard stinks?

  6. #6
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    You can try it out for yourself:

    Launch VS.Net
    Open your old VB6 Solution file and the upgrade wizard will automatically start.

    And yes, the upgrade wizard SUCKS big time. It tries, but fails on anything but trivial code, plus it produces some pretty nasty looking code when it does work.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    216
    It says that it is not availible in this edition

  8. #8
    Member
    Join Date
    Jan 2003
    Location
    Between here and there
    Posts
    36
    you need the professional edition, not the basic edition, so that means shelling out some cash for the VS.NET version... shady Microsoft people...


    Yes, I have a VB6 app and ran it through the upgrade wizard, half the code it crapped out on(ADODB) and the other half it said I didn't know how to program(ok, that part is true)

    Here is an example of some of the crap it produces on some simple code and chokes!

    PHP Code:

    Dim varExamDate 
    As Object
    // UPGRADE_WARNING: Couldn't resolve default property of object varExamDate. Click for more: 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="vbup1037"' 

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    216
    Heh, wow thats odd. Ok thanks for your help (if you know about servers give me a pm =))

  10. #10
    Member
    Join Date
    Jan 2003
    Location
    Between here and there
    Posts
    36
    what do you need to know about servers? I could make your head spin about them

  11. #11

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    216
    read my post in the database place (heeh that rymes sorta)

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