VB 2002 and 2003 code incompatible?

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

    VB 2002 and 2003 code incompatible?

    I have VB .net (2002 personal ownership) at home, and .net 2003 at my
    office (we're an MSDN developer shop) and I found that I cannot write
    code home, bring it to work, and back home again. This is because 2003
    "converts" the source code.

    What I found it does is it changes some header files to version 8.0 and
    nothing
    more because I can "convert" it back by replacing the 8.0 label back to
    7.0

    If I use 2002 with the second "edition" of the framework, AND the code
    was the same, what is the sense of forcing a Gestapo like upgrade to
    every version that comes along?

    Just in case the suggestion is made... I won't bring 2003 from work
    to install at home as I'm certain that it violates the MSDN license,
    and probably breaks a few dozen laws worldwide.

    OK, so you have to throw away code from VB6 and re-learn .net, but this
    upgrading .net every 10-15 months is going to get expensive.



    Regards,

    Gary





  • Scott M.

    #2
    Re: VB 2002 and 2003 code incompatible?

    The 2 versions use different versions of the .NET Framework. Once a 2002
    project has been upgraded to a 2003 project you can't go back.



    "Gary Napolitano" <gnappi@earthli nk.net> wrote in message
    news:3F5B5946.7 583D5A8@earthli nk.net...[color=blue]
    > I have VB .net (2002 personal ownership) at home, and .net 2003 at my
    > office (we're an MSDN developer shop) and I found that I cannot write
    > code home, bring it to work, and back home again. This is because 2003
    > "converts" the source code.
    >
    > What I found it does is it changes some header files to version 8.0 and
    > nothing
    > more because I can "convert" it back by replacing the 8.0 label back to
    > 7.0
    >
    > If I use 2002 with the second "edition" of the framework, AND the code
    > was the same, what is the sense of forcing a Gestapo like upgrade to
    > every version that comes along?
    >
    > Just in case the suggestion is made... I won't bring 2003 from work
    > to install at home as I'm certain that it violates the MSDN license,
    > and probably breaks a few dozen laws worldwide.
    >
    > OK, so you have to throw away code from VB6 and re-learn .net, but this
    > upgrading .net every 10-15 months is going to get expensive.
    >
    >
    >
    > Regards,
    >
    > Gary
    >
    >
    >
    >
    >[/color]


    Comment

    • Cowboy \(Gregory A Beamer\)

      #3
      Re: VB 2002 and 2003 code incompatible?

      There are some breaking code changes. By forcing the "gestapo-like" tactics,
      Microsoft saves people from themselves (ie, trying to run code with breaking
      changes in the older IDE and bombing).

      With much of your code, you can simply change the XML and run it.

      In general, most 1.0 code runs in 1.1 without any changes, which is good.

      --
      Gregory A. Beamer
      MPV; MCP: +I, SE, SD, DBA

      *************** *************** *************** *************** **********
      Think outside the box!
      *************** *************** *************** *************** **********
      "Gary Napolitano" <gnappi@earthli nk.net> wrote in message
      news:3F5B5946.7 583D5A8@earthli nk.net...[color=blue]
      > I have VB .net (2002 personal ownership) at home, and .net 2003 at my
      > office (we're an MSDN developer shop) and I found that I cannot write
      > code home, bring it to work, and back home again. This is because 2003
      > "converts" the source code.
      >
      > What I found it does is it changes some header files to version 8.0 and
      > nothing
      > more because I can "convert" it back by replacing the 8.0 label back to
      > 7.0
      >
      > If I use 2002 with the second "edition" of the framework, AND the code
      > was the same, what is the sense of forcing a Gestapo like upgrade to
      > every version that comes along?
      >
      > Just in case the suggestion is made... I won't bring 2003 from work
      > to install at home as I'm certain that it violates the MSDN license,
      > and probably breaks a few dozen laws worldwide.
      >
      > OK, so you have to throw away code from VB6 and re-learn .net, but this
      > upgrading .net every 10-15 months is going to get expensive.
      >
      >
      >
      > Regards,
      >
      > Gary
      >
      >
      >
      >
      >[/color]


      Comment

      • Ken Tucker

        #4
        Re: VB 2002 and 2003 code incompatible?

        Hi,

        A free utility to convert vs.net 2003 project to 2002 format.


        Ken
        ---------------------
        "Gary Napolitano" <gnappi@earthli nk.net> wrote in message
        news:3F5B5946.7 583D5A8@earthli nk.net...[color=blue]
        > I have VB .net (2002 personal ownership) at home, and .net 2003 at my
        > office (we're an MSDN developer shop) and I found that I cannot write
        > code home, bring it to work, and back home again. This is because 2003
        > "converts" the source code.
        >
        > What I found it does is it changes some header files to version 8.0 and
        > nothing
        > more because I can "convert" it back by replacing the 8.0 label back to
        > 7.0
        >
        > If I use 2002 with the second "edition" of the framework, AND the code
        > was the same, what is the sense of forcing a Gestapo like upgrade to
        > every version that comes along?
        >
        > Just in case the suggestion is made... I won't bring 2003 from work
        > to install at home as I'm certain that it violates the MSDN license,
        > and probably breaks a few dozen laws worldwide.
        >
        > OK, so you have to throw away code from VB6 and re-learn .net, but this
        > upgrading .net every 10-15 months is going to get expensive.
        >
        >
        >
        > Regards,
        >
        > Gary
        >
        >
        >
        >
        >[/color]


        Comment

        • Gary Napolitano

          #5
          Re: VB 2002 and 2003 code incompatible?

          Ken, thanks a LOT.

          I can understand MS wanting to "SAVE ME from myself" but as I said
          if the code remains the same, I see no reason to force feed upgrades
          every time MS needs a boost in their revenue stream.

          If they can "re-engineer" an O/S and development tools there HAS to be
          a way to make writing code with their new tools less of a pain in the arse.




          Regards,

          Gary


          Ken Tucker wrote:
          [color=blue]
          > Hi,
          >
          > A free utility to convert vs.net 2003 project to 2002 format.
          > http://www.thecodeproject.com/macro/...ert%7Cvs%2Enet
          >
          > Ken
          > ---------------------
          > "Gary Napolitano" <gnappi@earthli nk.net> wrote in message
          > news:3F5B5946.7 583D5A8@earthli nk.net...[color=green]
          > > I have VB .net (2002 personal ownership) at home, and .net 2003 at my
          > > office (we're an MSDN developer shop) and I found that I cannot write
          > > code home, bring it to work, and back home again. This is because 2003
          > > "converts" the source code.
          > >
          > > What I found it does is it changes some header files to version 8.0 and
          > > nothing
          > > more because I can "convert" it back by replacing the 8.0 label back to
          > > 7.0
          > >
          > > If I use 2002 with the second "edition" of the framework, AND the code
          > > was the same, what is the sense of forcing a Gestapo like upgrade to
          > > every version that comes along?
          > >
          > > Just in case the suggestion is made... I won't bring 2003 from work
          > > to install at home as I'm certain that it violates the MSDN license,
          > > and probably breaks a few dozen laws worldwide.
          > >
          > > OK, so you have to throw away code from VB6 and re-learn .net, but this
          > > upgrading .net every 10-15 months is going to get expensive.
          > >
          > >
          > >
          > > Regards,
          > >
          > > Gary
          > >
          > >
          > >
          > >
          > >[/color][/color]




          Comment

          • Chris Dunaway

            #6
            Re: VB 2002 and 2003 code incompatible?

            Gary Napolitano <gnappi@earthli nk.net> wrote in news:3F5B5946.7 583D5A8
            @earthlink.net:
            [color=blue]
            >
            > Just in case the suggestion is made... I won't bring 2003 from work
            > to install at home as I'm certain that it violates the MSDN license,
            > and probably breaks a few dozen laws worldwide.
            >[/color]

            Actually, if you read the EULA.Txt, you can make a copy and run it at
            home as long as you are the only person that runs it. AFAIK, VB has
            always allowed this. Here is section 1.1 from the EULA:

            1.1 General License Grant. Microsoft grants to you as an individual, a
            personal, nonexclusive license to use the Software, and to make and use
            copies
            of the Software for the purposes of designing, developing, testing, and
            demonstrating your software product(s), provided that you are the only
            individual using the Software.
            If you are an entity, Microsoft grants to you a personal, nonexclusive
            license
            to use the Software, and to make and use copies of the Software, provided
            that
            for each individual using the Software within your organization, you have
            acquired a separate and valid license for each such individual.

            If I am wrong, someone please correct me.

            Chris

            Comment

            • Bob Graham

              #7
              Re: VB 2002 and 2003 code incompatible?

              You can get the 2003 upgrade disks for only $29 from Microsoft. May as well
              do it, have a copy at home.

              It's irritating, if you look at the version number of vs 2003, it's only
              7.1, not 8, really only a minor upgrade (or bug fix collection, the new
              features are minor and they haven't fixed major annoyances like combobox not
              allowing form keypreview).

              Bob

              "Gary Napolitano" <gnappi@earthli nk.net> wrote in message
              news:3F5B5946.7 583D5A8@earthli nk.net...[color=blue]
              > I have VB .net (2002 personal ownership) at home, and .net 2003 at my
              > office (we're an MSDN developer shop) and I found that I cannot write
              > code home, bring it to work, and back home again. This is because 2003
              > "converts" the source code.
              >
              > What I found it does is it changes some header files to version 8.0 and
              > nothing
              > more because I can "convert" it back by replacing the 8.0 label back to
              > 7.0
              >
              > If I use 2002 with the second "edition" of the framework, AND the code
              > was the same, what is the sense of forcing a Gestapo like upgrade to
              > every version that comes along?
              >
              > Just in case the suggestion is made... I won't bring 2003 from work
              > to install at home as I'm certain that it violates the MSDN license,
              > and probably breaks a few dozen laws worldwide.
              >
              > OK, so you have to throw away code from VB6 and re-learn .net, but this
              > upgrading .net every 10-15 months is going to get expensive.
              >
              >
              >
              > Regards,
              >
              > Gary
              >
              >
              >
              >
              >[/color]


              Comment

              • Cor

                #8
                Re: VB 2002 and 2003 code incompatible?

                Hi Bob,

                Do you tell that by expirience or from the papers?

                Cor


                Comment

                • Cor

                  #9
                  Re: VB 2002 and 2003 code incompatible?

                  Herfried,
                  It's irritating, if you look at the version number of vs 2003, it's only
                  7.1, not 8, really only a minor upgrade (or bug fix collection, the new
                  features are minor and they haven't fixed major annoyances like combobox not
                  allowing form keypreview).

                  Cor


                  Comment

                  • Herfried K. Wagner [MVP]

                    #10
                    Re: VB 2002 and 2003 code incompatible?

                    Hello,

                    "Cor" <non@non.com> schrieb:[color=blue]
                    > It's irritating, if you look at the version number of vs 2003, it's[/color]
                    only[color=blue]
                    > 7.1, not 8, really only a minor upgrade (or bug fix collection, the[/color]
                    new[color=blue]
                    > features are minor and they haven't fixed major annoyances like
                    > combobox not allowing form keypreview).[/color]

                    The .NET framework is version 1.1 too, not version 2.0.

                    --
                    Herfried K. Wagner
                    MVP ยท VB Classic, VB.NET
                    Die Website von H. Wagner zu .NET, Visual Basic .NET und Classic Visual Basic.



                    Comment

                    • Cor

                      #11
                      Re: VB 2002 and 2003 code incompatible?

                      Hi Herfried,
                      [color=blue]
                      >It's irritating, if you look at the version number of vs 2003, it's only
                      >7.1, not 8, really only a minor upgrade (or bug fix collection, the new
                      >features are minor and they haven't fixed major annoyances like combobox[/color]
                      not[color=blue]
                      >allowing form keypreview).[/color]

                      Did you think I was writing that, that was Bob and I was asking if : Do you
                      tell that by expirience or from the papers?

                      How can you think I would write that after all the goods I have told about
                      VB 2003
                      :-((((((((((((((( ((
                      Cor


                      Comment

                      • Bob Graham

                        #12
                        Re: VB 2002 and 2003 code incompatible?

                        I'm not sure if sarcasm is intended, but I mention the problem with combo
                        boxes from much experience, as I use a lot of them in my apps, and have to
                        write much longer code for lack of keypreview functionality if the focus is
                        on a combo box. It's a known issue with combo boxes with the normal drop
                        down style. Please correct me if you know otherwise.

                        Bob


                        "Cor" <non@non.com> wrote in message
                        news:3f5cb73f$0 $17428$48b97d01 @reader20.wxs.n l...[color=blue]
                        > Herfried,
                        > It's irritating, if you look at the version number of vs 2003, it's only
                        > 7.1, not 8, really only a minor upgrade (or bug fix collection, the new
                        > features are minor and they haven't fixed major annoyances like combobox[/color]
                        not[color=blue]
                        > allowing form keypreview).
                        >
                        > Cor
                        >
                        >[/color]


                        Comment

                        • Cor

                          #13
                          Re: VB 2002 and 2003 code incompatible?

                          Bob,
                          Reading it over yes the Combobox is for me to terrible, it was with 2002 and
                          one of the first things that I did overlook in 2003 was if it was fixed and
                          as I remember it was not. I had such a same problem with binding from
                          textboxes and stopped that. That too I don't know if that works now beter.
                          But a lot of things are better.

                          But the combobox is so overloaded with members.

                          Cor


                          Comment

                          Working...