BT

InfoQ Homepage News Interop Forms 2 - Now with Controls

Interop Forms 2 - Now with Controls

Bookmarks
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
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.

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

Community comments

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

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

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.