Save 2003 as 2002

  • Thread starter Thread starter Michael
  • Start date Start date
M

Michael

I need to save a VB.Net 2003 solution as a VB.Net 2002 solution.
I am told a program to do that exists.
I did a quick Google search of the newsgroups and didn't find anything.

Is there such a conversion?

Thanks,
Michael
 
I know you can tell a VS.NET solution what version of the Framework to
target, but I believe that once you've made 2003 code, it must stay 2003
code and can't be "downgraded" to 2002 code.
 
* "Michael said:
I need to save a VB.Net 2003 solution as a VB.Net 2002 solution.
I am told a program to do that exists.
I did a quick Google search of the newsgroups and didn't find anything.

There is no built-in way to do that, because parts of the VB.NET 2003
code may not be compatible with the older version. Nevertheless, you
can use this tool to save the project in 2002 format:

<http://www.codeproject.com/macro/vsconvert.asp>

Changes in the .NET Framework:

<http://www.gotdotnet.com/team/changeinfo/default.aspx>
 
OK, Thanks.

Scott M. said:
I know you can tell a VS.NET solution what version of the Framework to
target, but I believe that once you've made 2003 code, it must stay 2003
code and can't be "downgraded" to 2002 code.
 
That made the solution and project so they will open in 2002, but it appears
all it does is change the file header so it thinks it is 2002. It doesn't
convert any of the code. I had a very simple project just a few buttons and
simple code. It piled all the buttons at position 0,0 and had a runtime
error caused by the icon. Because the program was so small, it was easy to
fix those minor errors.
It was better than nothing.
Thanks.
Michael
 
Herfried K. Wagner said:
There is no built-in way to do that, because parts of the VB.NET 2003
code may not be compatible with the older version. Nevertheless, you
can use this tool to save the project in 2002 format:

<http://www.codeproject.com/macro/vsconvert.asp>

Changes in the .NET Framework:

<http://www.gotdotnet.com/team/changeinfo/default.aspx>


That made the solution and project so they will open in 2002, but it appears
all it does is change the file header so it thinks it is 2002. It doesn't
convert any of the code. I had a very simple project just a few buttons and
simple code. It piled all the buttons at position 0,0 and had a runtime
error caused by the icon. Because the program was so small, it was easy to
fix those minor errors.
It was better than nothing.
Thanks.
Michael
 
* "Michael said:
I need to save a VB.Net 2003 solution as a VB.Net 2002 solution.
I am told a program to do that exists.
I did a quick Google search of the newsgroups and didn't find anything.

There is no built-in way to do that, because parts of the VB.NET 2003
code may not be compatible with the older version. Nevertheless, you
can use this tool to save the project in 2002 format: [...]
That made the solution and project so they will open in 2002, but it appears
all it does is change the file header so it thinks it is 2002. It
doesn't convert any of the code.

As mentioned, conversion isn't always possible because the .NET
Framework has changed/was extended. VS.NET 2002 only supports the .NET
Framework 1.0.
 
Back
Top