{"id":323,"date":"2016-09-07T02:36:38","date_gmt":"2016-09-07T02:36:38","guid":{"rendered":"http:\/\/waynenguyen.org\/dev\/?p=323"},"modified":"2016-09-07T02:36:38","modified_gmt":"2016-09-07T02:36:38","slug":"install-visual-basic-6-in-windows-7","status":"publish","type":"post","link":"https:\/\/bruceng.com\/dev\/?p=323","title":{"rendered":"Install Visual Basic 6 in Windows 7"},"content":{"rendered":"<p>Follow the StackOverflow answer here:\u00a0<a href=\"http:\/\/stackoverflow.com\/a\/10501908\/5539403\">http:\/\/stackoverflow.com\/a\/10501908\/5539403<\/a><\/p>\n<p>The steps are copied here in case link is dead<\/p>\n<ul>\n<li>Before proceeding with the installation process below, create a zero-byte file in <code>C:\\Windows<\/code>called <code>MSJAVA.DLL<\/code>. The setup process will look for this file, and if it doesn&#8217;t find it, will force an installation of old, old Java, and require a reboot. By creating the zero-byte file, the installation of moldy Java is bypassed, and no reboot will be required.<\/li>\n<li><a href=\"http:\/\/windows.microsoft.com\/en-gb\/windows\/turn-user-account-control-on-off#1TC=windows-7\">Turn off UAC<\/a>.<\/li>\n<li>Insert Visual Studio 6 CD.<\/li>\n<li>Exit from the Autorun setup.<\/li>\n<li>Browse to the root folder of the VS6 CD.<\/li>\n<li>Right-click <code>SETUP.EXE<\/code>, select <code>Run As Administrator<\/code>.<\/li>\n<li>On this and other Program Compatibility Assistant warnings, click Run Program.<\/li>\n<li>Click Next.<\/li>\n<li>Click &#8220;I accept agreement&#8221;, then Next.<\/li>\n<li>Enter name and company information, click Next.<\/li>\n<li>Select Custom Setup, click Next.<\/li>\n<li>Click Continue, then Ok.<\/li>\n<li>Setup will &#8220;think to itself&#8221; for about 2 minutes. Processing can be verified by starting Task Manager, and checking the CPU usage of ACMSETUP.EXE.<\/li>\n<li>On the options list, select the following:\n<ul>\n<li>Microsoft Visual Basic 6.0<\/li>\n<li>ActiveX<\/li>\n<li>Data Access<\/li>\n<li>Graphics<\/li>\n<li>All other options should be unchecked.<\/li>\n<\/ul>\n<\/li>\n<li>Click Continue, setup will continue.<\/li>\n<li>Finally, a successful completion dialog will appear, at which click Ok. At this point, Visual Basic 6 is installed.<\/li>\n<li>If you do not have the MSDN CD, clear the checkbox on the next dialog, and click next. You&#8217;ll be warned of the lack of MSDN, but just click Yes to accept.<\/li>\n<li>Click Next to skip the installation of Installshield. This is a really old version you don&#8217;t want anyway.<\/li>\n<li>Click Next again to skip the installation of BackOffice, VSS, and SNA Server. Not needed!<\/li>\n<li>On the next dialog, clear the checkbox for &#8220;Register Now&#8221;, and click Finish.<\/li>\n<li>The wizard will exit, and you&#8217;re done. You can find VB6 under Start, All Programs, Microsoft Visual Studio 6. Enjoy!<\/li>\n<li><a href=\"http:\/\/windows.microsoft.com\/en-gb\/windows\/turn-user-account-control-on-off#1TC=windows-7\">Turn On UAC<\/a> again<\/li>\n<\/ul>\n<hr \/>\n<ul>\n<li>You might notice after successfully installing VB6 on Windows 7 that working in the IDE is a bit, well, sluggish. For example, resizing objects on a form is a real pain.<\/li>\n<li>After installing VB6, you&#8217;ll want to change the compatibility settings for the IDE executable.<\/li>\n<li>Using Windows Explorer, browse the location where you installed VB6. By default, the path is <code>C:\\Program Files\\Microsoft Visual Studio\\VB98\\<\/code><\/li>\n<li>Right click the VB6.exe program file, and select properties from the context menu.<\/li>\n<li>Click on the Compatibility tab.<\/li>\n<li>Place a check in each of these checkboxes:<\/li>\n<li>Run this program in compatibility mode for Windows XP (Service Pack 3)\n<ul>\n<li>Disable Visual Themes<\/li>\n<li>Disable Desktop Composition<\/li>\n<li>Disable display scaling on high DPI settings<\/li>\n<li>If you have UAC turned on, it is probably advisable to check the &#8216;Run this program as an Administrator&#8217; box<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>After changing these settings, fire up the IDE, and things should be back to normal, and the IDE is no longer sluggish.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Follow the StackOverflow answer here:\u00a0http:\/\/stackoverflow.com\/a\/10501908\/5539403 The steps are copied here in case link is dead Before proceeding with the installation process below, create a zero-byte file in C:\\Windowscalled MSJAVA.DLL. The setup process will look for this file, and if it doesn&#8217;t find it, will force an installation of old, old Java, and require a reboot. &hellip; <a href=\"https:\/\/bruceng.com\/dev\/?p=323\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Install Visual Basic 6 in Windows 7&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,14],"tags":[49],"class_list":["post-323","post","type-post","status-publish","format-standard","hentry","category-problems","category-tips-and-tricks","tag-visual-basic"],"_links":{"self":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=323"}],"version-history":[{"count":1,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/323\/revisions"}],"predecessor-version":[{"id":324,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/323\/revisions\/324"}],"wp:attachment":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}