Solved

making the move to 2005

Posted on 2006-07-12
4
189 Views
Last Modified: 2011-08-18
We are a small development team that currently maintains projects in VB6 and writes and maintains projects in .Net 2003.  We are contemplating the move to .Net 2005.  What issues will we face with existing 2003 projects completed and in development?  What's the downside, if any?  What version (Pro or Team or another) is best.

Thank you.
0
Comment
Question by:g_johnson
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
Shakti109 earned 250 total points
ID: 17092956
The version will depend on what features you wish to use.

Versions below Pro do not include the database type projects. If you are going to build DTS, or other database objects (CLR .dll's for sql 2005 for example), then I'd reccomend at least pro.

If you are currently using/coding in .net 2003, then the move to 2005 will be easy as you get many new capabilities : Things like being able to have a web-service update applications when they start (new deployment/update wizard), generics, and many many more.

When moving projects from 2003 to 2005, the move will be far less painful (and less complicated) than bringing projects from say VB6 and trying to convert them to 2003 (which often generated more work than re-writing from scratch).

In 2005, there are many more options to further improve code efficiency and good programming skills (compiler options), and these may generate warnings/errors from older .net 2003 code.

Things like : Me.FormBorderStyle = FormBorderStyle.None

Will generate a warning/error. To "correct it", you simply fully qualify the property name :

 Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None

Other than things like this, there are no huge/glaring conversion issues from .net 2003 - 2005.
0
 
LVL 24

Assisted Solution

by:Jeff Certain
Jeff Certain earned 250 total points
ID: 17093400
As Shakti mentioned, most of your code will port nicely.

You may, however, find that some projects dependent on third-party DLLs require an updated DLL. Also, web apps are significantly different, and will require a fair bit of work to port.

In addition, you will find that generics (System.Collections.Generic) will help you write more efficient code faster. Snippets help reduce cut-and-paste and repetitive code. The class designer makes visual design of your class structure quite eacy (and it even generates stub code for you). Any of the team edition versions have unit testing integrated into the IDE.

There is an increased emphasis on security in 2005 (see the new System.Security namespace).

There's also a free tool called Refactor! that makes it much easier to refactor your code.

0
 
LVL 4

Author Comment

by:g_johnson
ID: 17093608
can you continue your .Net2003 projects in the 2005 ide and continue to run them on the 1.1 framework, or do you need to "port" them and use the 2.0 framework.  can they exists side-by-side like 2003 does with VB6?

0
 
LVL 24

Expert Comment

by:Jeff Certain
ID: 17093626
The IDEs will exist side-by-side, as will the Frameworks. However, if you're developing in 2005, they compile against the 2.0 Framework (so you can't develop an application in VS2005 that uses 1.1)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Spacing between controls 4 31
LINQ - C# to VB convertion 12 48
Convert an ASPX page into PDF 7 27
VB.Net - Windows UserName index and length error 4 24
This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now