{"id":6163,"date":"2007-05-02T17:40:00","date_gmt":"2007-05-02T17:40:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vbteam\/2007\/05\/02\/just-released-interop-forms-toolkit-2-0\/"},"modified":"2024-07-05T14:47:06","modified_gmt":"2024-07-05T21:47:06","slug":"just-released-interop-forms-toolkit-2-0","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/vbteam\/just-released-interop-forms-toolkit-2-0\/","title":{"rendered":"Just Released &#8211; Interop Forms Toolkit 2.0!"},"content":{"rendered":"<p>Today we launched the <a class=\"\" title=\"Interop Forms Toolkit 2.0\" href=\"http:\/\/msdn2.microsoft.com\/en-us\/vbasic\/bb419144.aspx\">Interop Forms Toolkit 2.0<\/a>, which makes it easier than ever to upgrade VB6 applications to .NET.&nbsp; This new release builds on <a class=\"\" title=\"version 1.0\" href=\"http:\/\/msdn2.microsoft.com\/en-us\/vbasic\/aa701259.aspx\">version 1.0<\/a>&nbsp;by adding support for the following features:<\/p>\n<ul>\n<li><strong>Interop UserControls<\/strong> &#8211; These are .NET controls that can be hosted <em><strong>on existing VB6 Forms<\/strong><\/em>.&nbsp; These controls look and feel just like regular ActiveX controls, but you build them the same way you would any other .NET control.<\/li>\n<li><strong>MDI Support<\/strong> &#8211; One of the big pieces of feedback we heard after the initial release was that MDI support was very important.&nbsp; With the introduction of Interop UserControls, you can now extend your MDI forms with .NET content.<\/li>\n<li><strong>Redistributable Package<\/strong> &#8211; The toolkit&#8217;s runtime now appears in the Prerequisites dialog in Visual Studio Setup Projects, so deploying your hybrid application is very simple.<\/li>\n<\/ul>\n<p>In the picture below you can see we&#8217;ve got a VB6 Form hosting a .NET UserControl which contains a MenuStrip and a ToolStrip.&nbsp; By inserting default items, we can build a control containing a MenuStrip and a ToolStrip, and hook it into VB6 &#8211; all in less than a minute!<\/p>\n<p><img decoding=\"async\" title=\"An Interop UserControl hosted on a VB6 form.\" height=\"390\" alt=\"An Interop UserControl hosted on a VB6 form.\" src=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2007\/05\/bb419144.Interop2_01.gif\" width=\"628\"><\/p>\n<p>Any public Properties, Methods, or Events defined in the UserControl are visible to VB6.&nbsp; You can also use My.InteropToolbox to&nbsp;raise&nbsp;application-level events&nbsp;and access Global variables.<\/p>\n<p>You can download the toolkit <a class=\"\" title=\"here\" href=\"http:\/\/msdn2.microsoft.com\/en-us\/vbasic\/bb419144.aspx\">here<\/a>, and if you have questions you can contact Microsoft Developer Support or post questions at the Visual Basic Interop &amp; Upgrade <a class=\"\" title=\"forum\" href=\"http:\/\/forums.microsoft.com\/MSDN\/ShowForum.aspx?ForumID=879&amp;SiteID=1\">forum<\/a>.<\/p>\n<p>We&#8217;re always interested in your feedback, so please let us know if there&#8217;s a feature you&#8217;d like us to add!&nbsp; You can post comments below or send mail to <a href=\"mailto:vbpwrpk@microsoft.com\">vbpwrpk@microsoft.com<\/a>.<\/p>\n<p>Jonathan<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we launched the Interop Forms Toolkit 2.0, which makes it easier than ever to upgrade VB6 applications to .NET.&nbsp; This new release builds on version 1.0&nbsp;by adding support for the following features: Interop UserControls &#8211; These are .NET controls that can be hosted on existing VB6 Forms.&nbsp; These controls look and feel just like [&hellip;]<\/p>\n","protected":false},"author":260,"featured_media":8818,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[192,195],"tags":[83,165,170],"class_list":["post-6163","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-featured","category-visual-basic","tag-jonathan-aneja","tag-vb2005","tag-vb6_migrationinterop"],"acf":[],"blog_post_summary":"<p>Today we launched the Interop Forms Toolkit 2.0, which makes it easier than ever to upgrade VB6 applications to .NET.&nbsp; This new release builds on version 1.0&nbsp;by adding support for the following features: Interop UserControls &#8211; These are .NET controls that can be hosted on existing VB6 Forms.&nbsp; These controls look and feel just like [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/posts\/6163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/users\/260"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/comments?post=6163"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/posts\/6163\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/media\/8818"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/media?parent=6163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/categories?post=6163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/tags?post=6163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}