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

  • Thread starter Thread starter Peter Stojkovic
  • Start date Start date
P

Peter Stojkovic

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
 
Peter Stojkovic said:
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.
 
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


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
 
Back
Top