Microsoft
Software
Hardware
Network
Question : VS 2003 Project to VS2008 Project and Converting Windows Forms to Partial Classes
We have a Visual Studio 2003 (1.1 framework) windows forms application we will be converting to Visual Studio 2008 (3.5 framework).
When you create a new form in VS 2005/2008 it splits the code files into two parts: the .vb and the Designer.vb code files. Part of the project conversion will be to use partial classes to split our forms in this same manner.
When we open the solution in VS2008, the wizard runs and everything is converted correctly. The solution compiles and runs and we're relatively happy with the results. However, it doesn't convert the windows forms so they use partial classes. While this has no effect on the application, it sure would be nice from the developer's perspective if we could split all of those forms (there's nearly 1,000 of them).
I found reference to a tool that someone had written at the end of this post:
http://forums.msdn.microso
ft.com/en-
US/csharpi
de/thread/
17df4ba3-0
118-4f3c-9
cd5-cab241
b82897/
But the link is broken and I cannot find a copy of it anywhere to evaluate it.
There is all kinds of help for getting this done with ASP.NET forms, but nothing for Windows Forms. Does anyone have a solution to automate this conversion?
Answer : VS 2003 Project to VS2008 Project and Converting Windows Forms to Partial Classes
see the file attached to the first topic at
http://www.vbforums.com/sh
owthread.p
hp?t=37689
9
Random Solutions
Access Form selecting specific records
insert query in code behind asp.net
Your changes could not be saved to "excel/word file name" because of a sharing violation. Try saving to different file.
Access 2007 runtime - instaled from package solution wizard - trusted locations
Maximum Folder Depth
vb.net - sort listview items
Brainstorm: PDF Hyperlink into Access Form with Variable
Windows 2000, 2008 and Exchange 2010
CFMail variable format
Vista or XP Software for Windows 7