Upgrade vb6 code in vb 2008

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Wal

    Upgrade vb6 code in vb 2008

    Is it possible to upgrade vb6 code snippets in vb 2008 Express?
    I get "The System cannot find the file specified" even though I have
    installed all available options.
  • Pascal

    #2
    Re: Upgrade vb6 code in vb 2008

    Yes i think you have to open the vb6.vbp from vb 2008 express and the
    conversion will be done (if possible).

    --
    Bonjour






































    Ressource pédagogique SC@LPA.

    Zone d'échange entre tous les partenaires du projet : Espagne, France, Italie, Roumanie.

    "Wal" <no_reply@norep ly.coma écrit dans le message de news:
    DIVOk.10134$sc2 .4522@news-server.bigpond. net.au...
    Is it possible to upgrade vb6 code snippets in vb 2008 Express?
    I get "The System cannot find the file specified" even though I have
    installed all available options.

    Comment

    • Wal

      #3
      Re: Upgrade vb6 code in vb 2008

      Something has changed between vb2005 and vb2008. If you open a vb6
      project file in vb2005 a conversion wizard starts up and guides you
      through it.

      If you do the same in vb2008 it just opens the project file as a page of
      text.
      VB2005 also had the option of converting pieces of code from the tools menu.

      I suppose they think if you haven't converted it by now it's too late.
      The help file also refers to using vb2005 to upgrade old code, but
      doesn't mention vb2008.

      My next question. Can you still download vb2005 and does it run
      alongside vb2008 or do I have to uninstall and start again?
      _______________ _______________ __

      Pascal wrote:
      Yes i think you have to open the vb6.vbp from vb 2008 express and the
      conversion will be done (if possible).
      >

      Comment

      • Armin Zingler

        #4
        Re: Upgrade vb6 code in vb 2008

        "Wal" <no_reply@norep ly.comschrieb
        Something has changed between vb2005 and vb2008. If you open a vb6
        project file in vb2005 a conversion wizard starts up and guides you
        through it.
        >
        If you do the same in vb2008 it just opens the project file as a
        page of text.
        VB2005 also had the option of converting pieces of code from the
        tools menu.
        >
        I suppose they think if you haven't converted it by now it's too
        late. The help file also refers to using vb2005 to upgrade old code,
        but doesn't mention vb2008.
        The upgrade wizard should also work in VB 2008. Even the Express version
        has it. Must be an installation issue on your machine.


        Armin

        Comment

        • Kevin Provance

          #5
          Re: Upgrade vb6 code in vb 2008

          Sorry to tell you, there is no such thing as "upgrading VB code" to any
          flavour of .NET. You have to rewrite it...unless of course you consider
          "todo" lines upgrading...whi ch is Microspeak for "rewrite".

          Enjoy!

          "Wal" <no_reply@norep ly.comwrote in message
          news:DIVOk.1013 4$sc2.4522@news-server.bigpond. net.au...
          | Is it possible to upgrade vb6 code snippets in vb 2008 Express?
          | I get "The System cannot find the file specified" even though I have
          | installed all available options.


          Comment

          • Wal

            #6
            Re: Upgrade vb6 code in vb 2008

            I'm happy enough with the ToDo lines here and there, the hyperlinks
            point me directly to the section of MSDN that teaches me how to do the
            same in VB.net. Much simpler that typing word into the Help search box.

            And it saves me redesigning the interface, menus etc. which the upgrade
            wizard does a great job on.




            Kevin Provance wrote:
            Sorry to tell you, there is no such thing as "upgrading VB code" to any
            flavour of .NET. You have to rewrite it...unless of course you consider
            "todo" lines upgrading...whi ch is Microspeak for "rewrite".
            >
            Enjoy!
            >
            "Wal" <no_reply@norep ly.comwrote in message
            news:DIVOk.1013 4$sc2.4522@news-server.bigpond. net.au...
            | Is it possible to upgrade vb6 code snippets in vb 2008 Express?
            | I get "The System cannot find the file specified" even though I have
            | installed all available options.
            >
            >

            Comment

            Working...