|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Converting a project from 2003 to 2005 differencesHi 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. 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. Show quoteHide quote "NickP" <a@a.com> wrote in message news:%231VDkV$KGHA.1272@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. > Hi Marina,
>I think the conversion just leaves the designer code where it is. And it Okie dokie, that answers my questions perfectly. It's a shame 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. 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. 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 Hi Cor,
> I did this for some, however don't do it nomore. The VB2003 code works Did you get any strange exceptions from doing so? I have found that the > very good as it is converted. 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 That makes sense I suppose, at least you know which modules were > refactor them easily and don't have to remember which where original 2003. 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.
ADO.net + MS Access = performance issues
VB.NET Structures and Union Help. how to group similar events? 2nd Post: Problem adding events to controls created at run-time Device Driver in VB 2005 Problems with ByRef parameters Copying files across network String vs. Stringbuilder speed parsing questio System.IO.FileSystemWatcher is missing alot of files. continue debugging without interrupting |
|||||||||||||||||||||||