BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

A Real Migration Strategy for Visual Basic 6 Applications

by Jonathan Allen on Sep 22, 2006 |

Microsoft's Visual Basic Team has released a new Visual Studio Power Pack called Interop Forms Toolkit 1.0. This toolkit allows developers to embed VB.Net forms inside a VB6 application.

Unlike the Migration Wizard, this approach allows developers to convert and upgrade their VB6 applications one form at a time. Preliminary tests indicate that it can be used as easily as any other VB 6 form stored in a DLL. The only issue that has arisen thus far is that MDI Children do not seem to be supported.

Two possible migration strategies can be taken depending on your needs. One option would be to replace one form at a time until only VB.Net forms remain. The other is to keep existing functionality in VB6 and only use VB.Net for new forms.

Currently this toolkit does not directly support C#. The main issue is the automatically generated classes needed for interoperability are only produced in VB format. C# developers can hand-code these classes or modify the toolkit's source code.

 

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT