473,468 Members | 1,449 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Converting a project from 2003 to 2005 differences

Hi there,

I have converted quite a large project from VS.NET 2003 to 2005 (VB.NET)
and one difference I have noticed is that it doesnt automatically put the
automatically generated designer code into a seperate part file.

Is there a quick way that I can scan the project and make these changes?
Will VS.NET automatically then use the correct part file to store the
designer code? I could really do with seperating some code out and getting
that chunk out of the way would really help!

Cheers in advance.

Nick.
Feb 7 '06 #1
4 1066
I think the conversion just leaves the designer code where it is. And it
continues to work with that. As far as I know, you would have to manually
make the changes to create the designer file, partial class, etc. Maybe
someone out there wrote a utility to do this, but I'm guessing you would
have to do this by hand if you want it to look just like VS 2005 created the
file.

"NickP" <a@a.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi there,

I have converted quite a large project from VS.NET 2003 to 2005
(VB.NET) and one difference I have noticed is that it doesnt automatically
put the automatically generated designer code into a seperate part file.

Is there a quick way that I can scan the project and make these
changes? Will VS.NET automatically then use the correct part file to store
the designer code? I could really do with seperating some code out and
getting that chunk out of the way would really help!

Cheers in advance.

Nick.

Feb 7 '06 #2
Nick,

I did this for some, however don't do it nomore. The VB2003 code works very
good as it is converted.

Because it looks not the same as VB2005, I can when I know more about 2005
refactor them easily and don't have to remember which where original 2003.

Just my thought,

Cor
Feb 7 '06 #3
Hi Marina,
I think the conversion just leaves the designer code where it is. And it
continues to work with that. As far as I know, you would have to manually
make the changes to create the designer file, partial class, etc. Maybe
someone out there wrote a utility to do this, but I'm guessing you would
have to do this by hand if you want it to look just like VS 2005 created
the file.


Okie dokie, that answers my questions perfectly. It's a shame it
doesn't shift it into a partial class for you. I just feel it will help
remove the bulk from a few forms by quite a considerable ammount of code,
which would be very handy indeed. Anyway, I'll have to have a look at
making a little app to do it.

Cheers for your help.

Nick.
Feb 7 '06 #4
Hi Cor,
I did this for some, however don't do it nomore. The VB2003 code works
very good as it is converted.
Did you get any strange exceptions from doing so? I have found that the
designer code can be very stressy if you make a slight error in it and it
can even start destroying itself. I thought I best not try this incase
there was a reason not to.
Because it looks not the same as VB2005, I can when I know more about 2005
refactor them easily and don't have to remember which where original 2003.


That makes sense I suppose, at least you know which modules were
designed in 2003/2005. I've got allot to work through if I do seperate the
designer code in the entire solution, so maybe a tool would be the best
idea.

Cheers for your help and advice Cor.

Nick.
Feb 7 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: William F. Zachmann | last post by:
I am working on a project converting a DLL originally written in C++ using Visual Studio 97 accessing a SQL 6.5 data base to VS.Net 2003 and SQL Server 2000. I would very much appreciate any...
0
by: Rich | last post by:
(1) Is there a better place to pose the question below? (2) I am starting to convert my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 Professional (.NET v2.0.50727). The entire...
4
by: Airw0lf | last post by:
Hi all, would appreciate help with some trouble I'm having after using the Visual C++ 2005 Express Conversion Wizard on my Visual C++ .NET 2003 project. The wizard completed successfully with...
1
by: Dan Munk | last post by:
Hello, I have a large project exclusively made up of interfaces (several hundred) that define the business objects used in our system. Heavy inheritance and aggregation are used in the project....
6
by: Dennis D. | last post by:
Having problems converting Murach's Beginning Visual Basic.net (Prince) and Microsoft Press' Programming Visual Basic.net (Balena) examples for use in VB.net 2005 Express. The VS conversion wizard...
0
by: Tom | last post by:
I am converting a small VB.NET 2003 application over to VS 2005. I ran it thru the 'upgrade' wizard which prompty upgraded it without any real issues (except some warnings). However, I did notice...
7
by: Coleen | last post by:
Does anyone have any good detailed information on the conversion process? We are in the process of converting 2 projects from 2003 to 2005 and have some conversion errors that I can not find...
3
by: moondaddy | last post by:
What's the preferred (best) way to start a website project in VS 2005? I know of 2 ways and each creates a site differently and has different behavior. Open VS 2005 1) from the start page...
4
by: Vadim | last post by:
Hello, I need to converting project that done on Visual Studio 2005 to Visual Studio 2003. What the best way to do this? Vadim Vilkhov
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.