Click here to Skip to main content
13,452,206 members (56,776 online)
Click here to Skip to main content


12 bookmarked
Posted 16 Jan 2013

A Visual Studio add-in to move Windows Forms Designer generated code from a .vb file to a .Designer.vb file

, 19 Jan 2013
Convert VB.NET 2003 Windows Forms Designer section of Windows Form Public Class files to Partial Class files.
Imports System.Resources

Imports System.Reflection
Imports System.Runtime.InteropServices

' General Information about an assembly is controlled through the following 
' set of attributes. Change these attribute values to modify the information
' associated with an assembly.

'TODO: Review the values of the assembly attributes

<Assembly: AssemblyTitle("ConvertVBFiles")> 
<Assembly: AssemblyDescription("Convert VB 'Windows Form Designer generated code' Region to a separate *.Designer.vb file")> 
<Assembly: AssemblyCompany("Mike Meinz")> 
<Assembly: AssemblyProduct("ConvertVBFiles")> 
<Assembly: AssemblyCopyright("Not Copyrighted")> 
<Assembly: AssemblyTrademark("Not Trademarked")> 
<Assembly: AssemblyCulture("")> 

' Version information for an assembly consists of the following four values:
'      Major Version
'      Minor Version 
'      Revision
'      Build Number
' You can specify all the values or you can default the Build and Revision Numbers 
' by using the '*' as shown below:

<Assembly: AssemblyVersion("")> 

<Assembly: ComVisible(True)> 
<Assembly: CLSCompliant(False)> 

<Assembly: AssemblyFileVersionAttribute("")> 
<Assembly: NeutralResourcesLanguageAttribute("en-US")> 

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Mike Meinz
United States United States
I’m retired. When I started my career, programming projects consisted of plugging wires into plug boards to create punch card processing applications to be run on electrical accounting machine like the IBM 402, 407, 085, 088, 514, 519, etc. From there, I moved to writing SPS and Autocoder applications on an IBM 1401 with 4K of memory eventually upgraded to 16K of memory. After many years of migrating my skills to various languages on various hardware platforms, I became an Information Technology Director where I didn’t need to program anymore. So, starting in 1996, I volunteered my time with a local community cable television organization and built some applications to help them run their operations. Originally in Clipper Summer 1987 and later Clipper 5.2, I migrated and enhanced those applications to VB .NET 2003 in 2003. I retired from my full-time job in 2010. Since then, I have continued to support the local community cable tv organization's applications. In 2013, I migrated the VB .NET 2003 Solution to VB .NET 2012 so that it can run on 64-bit computers and interact with Microsoft Office 2010. The upgrade went smoothly. In mid 2013, I developed a VB .NET 2012 application for them to download election results data from the Secretary of State's web site, format the results and send them to a VizRT character generator for on-air display.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.180318.3 | Last Updated 19 Jan 2013
Article Copyright 2013 by Mike Meinz
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid