Upgrade to VB 2005

A

Andy

Hi

As I try to learn VB programing I've been playing around with sourcecode
from projects hosted on sourceforge. If I open this code in VB 2005 (it is
originally developed in VB 2003), it will automatically upgrade to VB 2005?

/Andy
 
H

Herfried K. Wagner [MVP]

Andy said:
As I try to learn VB programing I've been playing around with sourcecode
from projects hosted on sourceforge. If I open this code in VB 2005 (it is
originally developed in VB 2003), it will automatically upgrade to VB
2005?

You will be asked if the project should be upgraded to VS 2005. It's not
supported to edit VS 2003 projects in VS 2005 without converting them to the
newest version.
 
J

Jay B. Harlow [MVP - Outlook]

Andy,
In addition to the other comments.

VS 2005 will convert VS 2003 or VS 2002 projects to the new VS 2005 project
format. This conversion is one way. In that you will not be able to open the
converted project in either VS 2002 or VS 2003.

VS 2005 does not rely on VS 2002 or VS 2003 for this conversion.

Code project had a utility that would convert a VS 2003 project to the VS
2002 format, however I have not looked for a similar utility for VS 2005
yet.

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


| Hi
|
| As I try to learn VB programing I've been playing around with sourcecode
| from projects hosted on sourceforge. If I open this code in VB 2005 (it is
| originally developed in VB 2003), it will automatically upgrade to VB
2005?
|
| /Andy
|
|
 
C

Cor Ligthert [MVP]

Andy,

You would not believe it, I could add something add to the previous given
answers but I can.

A nice conversion log is made when the conversion is done

Cor
 
G

Guest

Are there any "special items" that cannot be converted automatically from
VB2003 to vb2005? I am considering upgrading to VB2005 but don't want to
spend weeks converting "special items" like I did when I upgraded from VB3.0
to vb5.0.
 
C

Cor Ligthert [MVP]

Dennis,

I have not seen it yet, however it is not nice when you have by instance an
axwebbrowser while there is a better one. However the axwebbrowswer works as
it was in 2003.

The same for by instance the datagrid. It is not in the toolbox, however you
can easily set it in that, while it works as before.

But probably you will soon want to use some features which are in my opinon
so much more simple as in 2003 that you want to use them. By instance the
Generic list, the DataGridView, the BackGroundWorker, etc etc.

See by instance this page to see how often asked question in this newsgroup
have now simple answers.

http://msdn2.microsoft.com/en-us/library/11bxex12.aspx

I hope this gives an idea.

Cor
 
R

Robert Beaubien

My conversion experience so far is that Windows apps convert nicely with
very few changes (if any). Web is a different matter completely. A lot of
changes happen under the conver in a ASP.NET conversion and you should look
at what has been done in a test conversion to make sure everything works.

- Robert Beaubien

Dennis said:
Are there any "special items" that cannot be converted automatically from
VB2003 to vb2005? I am considering upgrading to VB2005 but don't want to
spend weeks converting "special items" like I did when I upgraded from
VB3.0
to vb5.0.

--
Dennis in Houston


Jay B. Harlow said:
Andy,
In addition to the other comments.

VS 2005 will convert VS 2003 or VS 2002 projects to the new VS 2005
project
format. This conversion is one way. In that you will not be able to open
the
converted project in either VS 2002 or VS 2003.

VS 2005 does not rely on VS 2002 or VS 2003 for this conversion.

Code project had a utility that would convert a VS 2003 project to the VS
2002 format, however I have not looked for a similar utility for VS 2005
yet.

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


| Hi
|
| As I try to learn VB programing I've been playing around with
sourcecode
| from projects hosted on sourceforge. If I open this code in VB 2005 (it
is
| originally developed in VB 2003), it will automatically upgrade to VB
2005?
|
| /Andy
|
|
 
C

Cor Ligthert [MVP]

Dennis,

See what Robert wrote, I have not yet converted something from the Web
mostly because that I have read as what Robert wrote, I should have added to
my message that I was talking about window forms applications.

Cor
 
J

Jay B. Harlow [MVP - Outlook]

Dennis,
In addition to the other comments:

| Are there any "special items" that cannot be converted automatically from
| VB2003 to vb2005?
I have not seen any modifications to my source files when I open a VB 2003
project in VB 2005. Only solution & project files have changed as they have
a new format.

| I am considering upgrading to VB2005 but don't want to
| spend weeks converting "special items" like I did when I upgraded from
VB3.0
| to vb5.0.

Your app should continue to run "as is" under VB 2005. As MS tried to
minimize breaking changes.

Depending on what you've used (System.Web.Mail &
System.Configuration.ConfigurationSettings for example) there are the
namespaces, types, and/or members that are now obsolete & have been replaced
with new namespaces, types, and/or members. However you can continue to use
the old namespace, type, or member as it has simply been marked as Obsolete
& you receive a compile time warning. NOTE: System.Web.Mail has been
replaced with System.Net.Mail which is significantly more powerful.

There are some things, such as the DataGrid being "replaced" by the
DataGrivView, however the DataGrid is still available & not obsolete , its
not on the toolbar. Another example is the original Splitter control & the
new SplitterContainer control. The original Splitter control is not
obsolete, however its not in the ToolBox by default.

Some of the new warnings may pop up more then some of us care for them to
(such as the new "Variable 'x' is used before it has been assigned a value.
A null reference exception could result at runtime")

Of course there is the totally new functionality like Master Pages that you
need to review if you choose to migrate to.

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


| Are there any "special items" that cannot be converted automatically from
| VB2003 to vb2005? I am considering upgrading to VB2005 but don't want to
| spend weeks converting "special items" like I did when I upgraded from
VB3.0
| to vb5.0.
|
| --
| Dennis in Houston
|
|
| "Jay B. Harlow [MVP - Outlook]" wrote:
|
| > Andy,
| > In addition to the other comments.
| >
| > VS 2005 will convert VS 2003 or VS 2002 projects to the new VS 2005
project
| > format. This conversion is one way. In that you will not be able to open
the
| > converted project in either VS 2002 or VS 2003.
| >
| > VS 2005 does not rely on VS 2002 or VS 2003 for this conversion.
| >
| > Code project had a utility that would convert a VS 2003 project to the
VS
| > 2002 format, however I have not looked for a similar utility for VS 2005
| > yet.
| >
| > --
| > Hope this helps
| > Jay [MVP - Outlook]
| > ..NET Application Architect, Enthusiast, & Evangelist
| > T.S. Bradley - http://www.tsbradley.net
| >
| >
| > | > | Hi
| > |
| > | As I try to learn VB programing I've been playing around with
sourcecode
| > | from projects hosted on sourceforge. If I open this code in VB 2005
(it is
| > | originally developed in VB 2003), it will automatically upgrade to VB
| > 2005?
| > |
| > | /Andy
| > |
| > |
| >
| >
| >
 
G

Guest

Robert,
My conversion went relatively smoothly until I hit reading in the app.config
file. Conversion Error message say 2003 Configuration.appSetting is no
longer supported and has been replace by ConfigurationManager but no matter
what I do I can't figure out how to use the ConfigurationManager. It is
constantly flagged as an undeclared variable. I try to specify the named
class and it is not available.
Looking for a clue.

Evelyn Poulo

Robert Beaubien said:
My conversion experience so far is that Windows apps convert nicely with
very few changes (if any). Web is a different matter completely. A lot of
changes happen under the conver in a ASP.NET conversion and you should look
at what has been done in a test conversion to make sure everything works.

- Robert Beaubien

Dennis said:
Are there any "special items" that cannot be converted automatically from
VB2003 to vb2005? I am considering upgrading to VB2005 but don't want to
spend weeks converting "special items" like I did when I upgraded from
VB3.0
to vb5.0.

--
Dennis in Houston


Jay B. Harlow said:
Andy,
In addition to the other comments.

VS 2005 will convert VS 2003 or VS 2002 projects to the new VS 2005
project
format. This conversion is one way. In that you will not be able to open
the
converted project in either VS 2002 or VS 2003.

VS 2005 does not rely on VS 2002 or VS 2003 for this conversion.

Code project had a utility that would convert a VS 2003 project to the VS
2002 format, however I have not looked for a similar utility for VS 2005
yet.

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


| Hi
|
| As I try to learn VB programing I've been playing around with
sourcecode
| from projects hosted on sourceforge. If I open this code in VB 2005 (it
is
| originally developed in VB 2003), it will automatically upgrade to VB
2005?
|
| /Andy
|
|
 
G

Greg Burns

Evelyn Poulo said:
Robert,
My conversion went relatively smoothly until I hit reading in the
app.config
file. Conversion Error message say 2003 Configuration.appSetting is no
longer supported and has been replace by ConfigurationManager but no
matter
what I do I can't figure out how to use the ConfigurationManager. It is
constantly flagged as an undeclared variable. I try to specify the named
class and it is not available.
Looking for a clue.

Evelyn Poulo

You need to add a reference to System.configuration.dll to use
ConfigurationManager class. This is not referenced by default in VB. It is
new, and was not needed in the past when using ConfigurationSettings class.
It can be confusing. :)

Greg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top