{"id":6728,"date":"2021-04-30T11:53:02","date_gmt":"2021-04-30T11:53:02","guid":{"rendered":"https:\/\/www.samlogic.net\/blog\/?p=6728"},"modified":"2021-09-04T18:26:53","modified_gmt":"2021-09-04T18:26:53","slug":"how-to-install-an-activex-component-with-visual-installer","status":"publish","type":"post","link":"https:\/\/www.samlogic.net\/blog\/2021\/04\/how-to-install-an-activex-component-with-visual-installer\/","title":{"rendered":"How to install an ActiveX component with Visual Installer"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignright\" src=\"https:\/\/www.samlogic.net\/blog\/images\/logotypes\/activex-logotype-w1267.png\" alt=\"ActiveX Logotype\" width=\"200\" border=\"0\"><\/p>\n<p><a href=\"https:\/\/www.samlogic.net\/visual-installer\/visual-installer.htm\" target=\"_blank\" rel=\"noopener noreferrer\">Visual Installer<\/a> supports installation of VB6 applications, and most VB6 applications use ActiveX components. An ActiveX component is an easy way to give applications access to powerful functions in a library or to put well designed visual objects on the application interface.<\/p>\n<p>Visual Installer can install ActiveX components. If you import a VB6 project to Visual Installer (via <strong>File &#8211; Import Visual Studio project &#8211; Visual Basic 6.0 project<\/strong>) all ActiveX components in the Visual Basic project will be added automatically to Visual Installer&#8217;s file list. But you can also add additional ActiveX components manually, in this way:<\/p>\n<p><strong>1.<\/strong> Choose the <strong>List &#8211; Add &#8211; Add files<\/strong> menu item in Visual Installer&#8217;s menu.<\/p>\n<p><strong>2.<\/strong> Browse to the ActiveX component you want to add.<\/p>\n<p><strong>3.<\/strong> Select the ActiveX file and click on <strong>Open<\/strong>.<\/p>\n<p><strong>4.<\/strong> The following dialog box is now shown:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.samlogic.net\/blog\/images\/product-visual-installer\/vi-editor-dialogbox-destination-directory--system-directory.png\" alt=\"The Destination Directory dialog box\" border=\"0\"><\/p>\n<p><strong>5.<\/strong> Choose a destination folder for the ActiveX.<br \/>\n<em>Normally is <strong>System directory<\/strong> used as destination folder for ActiveX files in VB6 projects. If you don&#8217;t find other information about the destination folder, select the <strong>System directory<\/strong> option.<\/em><\/p>\n<p><strong>6.<\/strong> Now click <strong>OK<\/strong>.<\/p>\n<p>The ActiveX component has now been added to Visual Installer&#8217;s file list. It will be automatically registered during the setup process. Registration is an important part when installing ActiveX components, and Visual Installer will do it for you.<\/p>\n<p><strong>Sometimes ActiveX are dependent on DLL files<\/strong><br \/>\nMostly ActiveX files can be distributed alone, but sometimes they are dependent on additional DLL files. If you add an ActiveX file manually (as described above) and you get problems in another computers when running your application, you should check the documentation for the ActiveX, if also DLL files must be distributed in the same time. You can add the DLLs to the file list in the same way as described above. The destination directory for the DLL file must be the same as the ActiveX file.<\/p>\n<p><strong>See also<\/strong><br \/>\n<span style=\"color: #ff0000;\">&gt;<\/span> <a href=\"https:\/\/www.samlogic.net\/visual-installer\/tips\/tips-pages\/create-installation-for-vb6-application\/create-installation-for-vb6-application.htm\" rel=\"noopener noreferrer\">How to create an installation for a VB6 application (tip)<\/a><br \/>\n<span style=\"color: #ff0000;\">&gt;<\/span> <a href=\"https:\/\/www.samlogic.net\/blog\/2013\/01\/how-to-install-and-register-an-activex-component\/\" rel=\"noopener noreferrer\">How to install and register an ActiveX component (general article)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Visual Installer supports installation of VB6 applications, and most VB6 applications use ActiveX components. An ActiveX component is an easy way to give applications access to powerful functions in a library or to put well designed visual objects on the application interface. Visual Installer can install ActiveX components. If you import a VB6 project to &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.samlogic.net\/blog\/2021\/04\/how-to-install-an-activex-component-with-visual-installer\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to install an ActiveX component with Visual Installer&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[15],"tags":[],"_links":{"self":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/6728"}],"collection":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/comments?post=6728"}],"version-history":[{"count":21,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/6728\/revisions"}],"predecessor-version":[{"id":6939,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/6728\/revisions\/6939"}],"wp:attachment":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/media?parent=6728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/categories?post=6728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/tags?post=6728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}