BT

Interop Forms 2 - Now with Controls

| by Jonathan Allen Follow 641 Followers on May 04, 2007. Estimated reading time: less than one minute |
The new version of Interop Forms allows .NET controls to be placed on VB 6 forms as if they were ActiveX controls.

A few years ago, Microsoft broke compatibility for Visual Basic. It wasn't a subtle break either, the difference between VB 6 and VB 7 made moving forward with existing code neigh impossible for all but the most trivial of applications.

While the upgrade story is still poor, Microsoft has been slowly chipping away at the problem. In their newest offering, Visual Basic 6 forms can now host .NET controls as if they were native to VB6.

One sore point for users of the first Interop Forms was the inability to create MDI child forms. Well, unfortunately that still is not possible. What developers can do, however, is create a child form in VB6 and build all of its contents in .NET. While this is not a perfect solution and will cause problems with things like merged menus, it does get developers a little bit further down the migration path.


Rate this Article

Adoption Stage
Style

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
BT