Convert

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

    Convert

    Hi
    Im new to vb.net.
    Can we convert vb6 forms, projects in to vb.net


  • James Hahn

    #2
    Re: Convert

    Start here:

    and also here:


    "Lincoln Burrows" <dummy@abcd.com wrote in message
    news:OCLAgviPJH A.4152@TK2MSFTN GP04.phx.gbl...
    Hi
    Im new to vb.net.
    Can we convert vb6 forms, projects in to vb.net
    >

    Comment

    • Michael Cole

      #3
      Re: Convert

      Lincoln Burrows <dummy@abcd.com wrote in message
      <news:OCLAgviPJ HA.4152@TK2MSFT NGP04.phx.gbl>
      Hi
      Im new to vb.net.
      Can we convert vb6 forms, projects in to vb.net

      Just one word of caution - it will actually be a rewrite rather than a
      conversion. VB.Net is a different beastie to VB6, and they differ in so
      many small but significant ways that you will need to go through each line
      of code to ensure that it still does what you want it to do.


      --
      Regards

      Michael Cole


      Comment

      • Cor Ligthert[MVP]

        #4
        Re: Convert

        Michael,

        Some curiosity is this conclussion from you based on version 2002 or version
        2008, because there has changes in those versions.

        Cor

        "Michael Cole" <none@invalid.c omschreef in bericht
        news:u4sDvkjPJH A.4008@TK2MSFTN GP02.phx.gbl...
        Lincoln Burrows <dummy@abcd.com wrote in message
        <news:OCLAgviPJ HA.4152@TK2MSFT NGP04.phx.gbl>
        >
        >Hi
        >Im new to vb.net.
        >Can we convert vb6 forms, projects in to vb.net
        >
        >
        Just one word of caution - it will actually be a rewrite rather than a
        conversion. VB.Net is a different beastie to VB6, and they differ in so
        many small but significant ways that you will need to go through each line
        of code to ensure that it still does what you want it to do.
        >
        >
        --
        Regards
        >
        Michael Cole
        >

        Comment

        • Herfried K. Wagner [MVP]

          #5
          Re: Convert

          "Lincoln Burrows" <dummy@abcd.com schrieb:
          Im new to vb.net.
          Can we convert vb6 forms, projects in to vb.net
          VS comes with an upgrade wizard. Just open the VB6 project in VS and it
          will pop up automatically.

          However, as VB.NET is not just a new version of Classic VB, migration
          between the two programming languages is not a straightforward process.
          Often a complete rewrite is the preferable solution. There are some
          (commercial) tools available which will assist conversion:

          VB Migration Partner
          <URL:http://www.vbmigration .com/>

          BTW: Prior to migration you should get familiar with VB.NET because in
          VB.NET often other approaches are used to solve problems than in VB6.

          --
          M S Herfried K. Wagner
          M V P <URL:http://dotnet.mvps.org/>
          V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

          Comment

          • rowe_newsgroups

            #6
            Re: Convert

            On Nov 3, 10:21 pm, "Lincoln Burrows" <du...@abcd.com wrote:
            Hi
            Im new to vb.net.
            Can we convert vb6 forms, projects in to vb.net
            I would strongly urge that you do not use the conversion wizard to
            convert your VB project. In my opinion the conversion wizard is one of
            the main reason VB.NET has such a negative stigma around it.

            Instead I would recommend you treat this upgrade like you would an
            upgrade to any other language, such as C#, C++, or Java, do a complete
            rewrite, starting from scratch.

            Basically, if you try to treat VB.NET like you would VB, it will come
            back and bite you.

            Thanks,

            Seth Rowe [MVP]

            Comment

            • Michael Cole

              #7
              Re: Convert

              "Michael Cole" <none@invalid.c omschreef in bericht
              news:u4sDvkjPJH A.4008@TK2MSFTN GP02.phx.gbl...
              >Lincoln Burrows <dummy@abcd.com wrote in message
              ><news:OCLAgviP JHA.4152@TK2MSF TNGP04.phx.gbl>
              >>
              >>Hi
              >>Im new to vb.net.
              >>Can we convert vb6 forms, projects in to vb.net
              >>
              >>
              >Just one word of caution - it will actually be a rewrite rather than
              >a conversion. VB.Net is a different beastie to VB6, and they differ
              >in so many small but significant ways that you will need to go
              >through each line of code to ensure that it still does what you want
              >it to do.

              Cor Ligthert[MVP] <notmyfirstname @planet.nlwrote in message
              <news:ONsJ5UnPJ HA.4708@TK2MSFT NGP06.phx.gbl>
              Michael,
              >
              Some curiosity is this conclussion from you based on version 2002 or
              version 2008, because there has changes in those versions.
              Its based on v2005, because that (and various versions of VB Classic) is all
              that I use. But unless the changes in 2008 include things such as
              determinalistic finalisation, I can't see that it will make any differences.

              Some references: -




              Oh, and BTW, I have done some simple "upgrades" of fully functioning VB6
              code, and some of the small differences between Classic and .NET do make a
              big difference...



              --
              Regards

              Michael Cole


              Comment

              • Cor Ligthert[MVP]

                #8
                Re: Convert

                Michael,

                Thanks, because I had only done this with VB2002 and that was bad.

                I can use those links you have send me.

                Cor

                "Michael Cole" <none@invalid.c omwrote in message
                news:uU3zkitPJH A.5076@TK2MSFTN GP02.phx.gbl...
                >"Michael Cole" <none@invalid.c omschreef in bericht
                >news:u4sDvkjPJ HA.4008@TK2MSFT NGP02.phx.gbl.. .
                >>Lincoln Burrows <dummy@abcd.com wrote in message
                >><news:OCLAgvi PJHA.4152@TK2MS FTNGP04.phx.gbl >
                >>>
                >>>Hi
                >>>Im new to vb.net.
                >>>Can we convert vb6 forms, projects in to vb.net
                >>>
                >>>
                >>Just one word of caution - it will actually be a rewrite rather than
                >>a conversion. VB.Net is a different beastie to VB6, and they differ
                >>in so many small but significant ways that you will need to go
                >>through each line of code to ensure that it still does what you want
                >>it to do.
                >
                >
                Cor Ligthert[MVP] <notmyfirstname @planet.nlwrote in message
                <news:ONsJ5UnPJ HA.4708@TK2MSFT NGP06.phx.gbl>
                >
                >Michael,
                >>
                >Some curiosity is this conclussion from you based on version 2002 or
                >version 2008, because there has changes in those versions.
                >
                Its based on v2005, because that (and various versions of VB Classic) is
                all that I use. But unless the changes in 2008 include things such as
                determinalistic finalisation, I can't see that it will make any
                differences.
                >
                Some references: -
                >


                >
                Oh, and BTW, I have done some simple "upgrades" of fully functioning VB6
                code, and some of the small differences between Classic and .NET do make a
                big difference...
                >
                >
                >
                --
                Regards
                >
                Michael Cole
                >

                Comment

                Working...