Programming Windows


September 16, 2011

Have an old Visual Basic 6 legacy application that is demanding MSINET.OCX in order to run?. Here is a copy of Microsoft’s redistributable run time file for VB6:


After you have downloaded the file, you can either place it in your C:\Windows\System32 (or C:\Windows\SysWow64 on an x64 system) and register it there or you may want to put it directly into your application’s directory and create a .local file so that the application does not look beyond it’s own folder for the file.

To register the file, open up command prompt (Win+R then cmd) and enter:

regsvr32 "C:\Windows\System32\MSINET.OCX"

If you are going to use the .local file, just create an empty text file in that directory with the same name as your application but a .local extension appended. So for example if you had a file called “MyApp.exe” you would create an empty text file called “MyApp.exe.local” Make sure if you have hidden extensions that it is not secretely adding “.txt” to the end of the file name.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.