Help with compiling VB6

Discussion in 'Programming' started by jojoyohan, Oct 23, 2005.

  1. #1
    I have Visual Studio.NET and I need to compile a vb6 script. I get errors when going to upgrade the code to vb.net. Is there any way to open/compile the script without upgrading it? Thanks a lot.
     
    jojoyohan, Oct 23, 2005 IP
  2. mnemtsas

    mnemtsas Super Dud

    Messages:
    497
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes. With VB6. You cannot compile VB6 programs with .NET anything. You may as well ask is there anyway I can compile this pascal program with this c++ compiler without changing anything. They are two different languages.
     
    mnemtsas, Oct 23, 2005 IP
  3. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #3
    is your existing code visual basic code or vb script? you don't need to compile vb script...
     
    daboss, Oct 24, 2005 IP
  4. jojoyohan

    jojoyohan Peon

    Messages:
    72
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It is the code. I was really wondering if there was a 3rd party compiling application for vb6. I'm getting one of my frineds to compile it. Thanks for the input.
     
    jojoyohan, Oct 24, 2005 IP
  5. srijit

    srijit Peon

    Messages:
    75
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you can compile VB6 code in visual studio.net provided that it converts everything allright. if your friend has made some non- standard code then u are stuck. i have the same situation as you :p also i dont think there is a 3rd party compiler for visual basic. It wud have been nice if visual studio supported the pld progs but no luck :(
     
    srijit, Oct 29, 2005 IP
  6. mnemtsas

    mnemtsas Super Dud

    Messages:
    497
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If you convert visual basic 6 code with Visual Studio .NET it's no longer VB6 code so really you're not compiling it at all......
     
    mnemtsas, Oct 29, 2005 IP
  7. Nokia999

    Nokia999 Guest

    Messages:
    1,488
    Likes Received:
    74
    Best Answers:
    0
    Trophy Points:
    0
    #7
    first you have to get vb6 to vb.net converter.It will convert your vb6 into vb.net code.
     
    Nokia999, Oct 29, 2005 IP
  8. temp_12000

    temp_12000 Peon

    Messages:
    316
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #8

    it will be a disaster for developer to maintain the code.

    in order to save time, better rewrite it. :)
     
    temp_12000, Nov 7, 2005 IP