Jumpstart your VB6-to-WPF migration efforts with this tool.

The VB6 To WPF Project Migration Aid Tool will read classes, modules, forms, user controls, and even ActiveX documents created in Visual Basic 6, and map them to recognizable XAML & code-behind files for Windows Presentation Foundation, for Visual Studio 2008 (or later).

This tool should be seen as just the first step for a serious, carefully well-planned migration project; it will create source files that, then, will require some additional work to be fully compilable as WPF applications.

New in Release 3:

- Fixed a bug where, if your Form / User Control / ActiveX Document does not contain any external resources (in the form of .frx, .ctx or .dox files), context menus were not being created at all. This now works as expected. Context Menus are always added to the Window / User Control as Resources.

- Status Bar panels are now being recognized & created, at least with some basic information. As always, elements that are not recognized of them are placed as comments in the XAML for further perusal.

- ActiveX controls' WindowsFormsHost tags were inserted with no width/height/margin info, instead leaving it to the hosted control. This caused WindowsFormsHost tags to cover all of the container's area (GroupBoxes, or even the Grids that define the inner contents of the whole Window / User Control), making it very difficult to work with the other controls in the WPF designer, and obscuring every other control in the area when finally being run. This has been fixed; now, width/height/margin info is applied to the WindowsFormsHost tag, instead of the control (the hosted control will occupy, by default, the whole area of the WindowsFormsHost container), giving it the dimensions they were supposed to have all the time in the new Window / User Control.

- Minor changes to generated code-behind, to recognize better some variables with names now tagged as "reserved" in the language, names, and some "As Variant" and "As Any" occurrences in it.

Last edited Nov 9, 2009 at 6:08 PM by Izhido, version 2