Previous | Index | Next 

[HOWTO] Generate Visual Studio 2008 and 2010 projects

VB Migration Partner can generate VB2005, VB2008 or VB2010. You select that target Visual Studio version by setting the corresponding option in the Save tab of the Tools-Options dialog box.

If using the VBMP.EXE batch version of the migration tool, you specify that you want to generate VB2010 code by means of the /version option, as in:

        VBMP c:\foo.vbp  /version:2010

The /version option can take four values: 2005, 2008, 2010 and 2012_40 (The last setting refers to VS2010 projects that target the .NET Framework 4.0.).

The /version option is supported also by the AxWrapperGen:

        AxWrapperGen c:\windows\system32\mscal.ocx  /version:2010

 

Previous | Index | Next