Connecting Tech Pros Worldwide Forums | Help | Site Map

New VS.2005 File format for windows-forms ( spliited into form1.designer.vb and form1.vb )

Peter Stojkovic
Guest
 
Posts: n/a
#1: Aug 2 '06
I have old Windows from VS.2003 wit a lot of controls in the forms
( Standard und user-Controls )

I have now converted my Application to VS.2005
When I create now a new form the information is stored in two file:
form1.designer.vb
form1.vb

Is it possible to convert the old forms to the new VS.2005 format ?
The automatic conersion has not splitted the old formold1.vb into two files.
May be because of the lot of controls und user-controls on the form.


Thanks



Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
#2: Aug 2 '06

re: New VS.2005 File format for windows-forms ( spliited into form1.designer.vb and form1.vb )


"Peter Stojkovic" <no_spam@gmx.netschrieb:
Quote:
>I have old Windows from VS.2003 wit a lot of controls in the forms
( Standard und user-Controls )
>
I have now converted my Application to VS.2005
When I create now a new form the information is stored in two file:
form1.designer.vb
form1.vb
>
Is it possible to convert the old forms to the new VS.2005 format ?
The automatic conersion has not splitted the old formold1.vb into two
files.
May be because of the lot of controls und user-controls on the form.
The IDE unfortunately doesn't have built-in support for converting existing
forms to the new form model using partial classes.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jim Wooley
Guest
 
Posts: n/a
#3: Aug 2 '06

re: New VS.2005 File format for windows-forms ( spliited into form1.designer.vb and form1.vb )


I have now converted my Application to VS.2005
Quote:
When I create now a new form the information is stored in two file:
form1.designer.vb
form1.vb
Is it possible to convert the old forms to the new VS.2005 format ?
The automatic conersion has not splitted the old formold1.vb into two
files.
May be because of the lot of controls und user-controls on the form.
Thanks

You can manually go through the trouble of adding the files. Making both
sides partial classes and moving the "don't touch this" section of 2003 style
code to the 2005 .desiginer file. I'm not sure it is worth the trouble. As
far as I know, there isn't any automated method to do this. Perhaps someone
could write an add-in if they don't have anything better to do.

Jim Wooley
http://devauthority.com/blogs/jwooley/default.aspx


Closed Thread