Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

MSCOMCTL.OCX could not be loaded


Growlith1223
 Share

Recommended Posts

try reinstallin vb6 yet? i had that issue once and i just reinstalled it.

sorry man i hadnt realized ya truied reinstalling it already. did you apply any recent updates and what os are you using? i have had trouble with slimmed down versions of windows 7 but havent really had and issue with an oem version of it.
Link to comment
Share on other sites

I wrote the help for this in the french board for someone who needed it. I will use google translate to bring it back to english simply because i'm too lazy to re-write it all. ill correct some google typos.

> Solution 1:
>
> In VB6 Enterprise Edition, check the following dll; (hit Ctrl + T to open the component) Check Microsoft Windows Common Controls 6.0 and 5.0 2.
>
> If they do not fix the mistake, or are they already check, proceed to solution 2.
>
> Solution 2:
>
> This solution requires that you have file extensions visible. If you do not see the extension of the file (for example, you see "Items" and not "Items.bmp") Click here to make them visible. (french tutorial usually here. google it)
>
> Create a .txt file in your client folder. inside add:
>
> ```
>
> regsvr32 /u data\cmcs21.ocx /s
>
> regsvr32 /u data\COMSocketServer.dll /s
>
> regsvr32 /u data\dx7vb.dll /s
>
> regsvr32 /u data\gdi32.dll /s
>
> regsvr32 /u data\MSCOMM32.OCX /s
>
> regsvr32 /u data\msimg32.dll /s
>
> regsvr32 /u data\Msinet.ocx /s
>
> regsvr32 /u data\msscript.ocx /s
>
> regsvr32 /u data\olepro32.dll /s
>
> regsvr32 /u data\Richtx32.ocx /s
>
> regsvr32 /u data\gdi32.dll /s
>
> regsvr32 /u data\scrrun.dll /s
>
> regsvr32 /u data\Tabctl32.ocx /s
>
> regsvr32 /u data\VBMP.ocx /s
>
> regsvr32 /u data\msscript.ocx /s
>
> regsvr32 /u data\winmm.dll /s
>
> regsvr32 /u data\zlib.dll /s
>
> regsvr32 /u data\VWBitmapUtils.dll /s
>
> regsvr32 /u data\mswinsck.ocx /s
>
> regsvr32 /u bass.dll /s
>
> ```
> Backup the file. Then change the file to .bat by renaming file.bat
>
> double click the file. This will uninstall the data file.
>
> Then the same thing again but this time with this:
>
> ```
>
> regsvr32 data\cmcs21.ocx /s
>
> regsvr32 data\COMSocketServer.dll /s
>
> regsvr32 data\dx7vb.dll /s
>
> regsvr32 data\gdi32.dll /s
>
> regsvr32 data\MSCOMM32.OCX /s
>
> regsvr32 data\msimg32.dll /s
>
> regsvr32 data\Msinet.ocx /s
>
> regsvr32 data\msscript.ocx /s
>
> regsvr32 data\olepro32.dll /s
>
> regsvr32 data\Richtx32.ocx /s
>
> regsvr32 data\gdi32.dll /s
>
> regsvr32 data\scrrun.dll /s
>
> regsvr32 data\Tabctl32.ocx /s
>
> regsvr32 data\VBMP.ocx /s
>
> regsvr32 data\msscript.ocx /s
>
> regsvr32 data\winmm.dll /s
>
> regsvr32 data\zlib.dll /s
>
> regsvr32 data\VWBitmapUtils.dll /s
>
> regsvr32 data\mswinsck.ocx /s
>
> regsvr32 bass.dll /s
>
> ```
> Once the changes are saved and the file is changed to .bat, you run the file again and your vb6 should open normally.
Link to comment
Share on other sites

You either followed the instructions wrong or you do not have that file because this solution was tested and worked for two people. Repeat Solution 2 but this time make sure you copy Regsvr in both System32 and SysWOW64\. Copy also the entire Data files (the one listed in my quote) into the System 32 and SysWOW64.

_note this is if u have x86_

Repeat solution 2 afterwards and it should work.

edit: and make sure u have vb6 Enterprise edition.
Link to comment
Share on other sites

> try reinstallin vb6 yet? i had that issue once and i just reinstalled it.
>
> sorry man i hadnt realized ya truied reinstalling it already. did you apply any recent updates and what os are you using? i have had trouble with slimmed down versions of windows 7 but havent really had and issue with an oem version of it.

Read above before you post anything…
Link to comment
Share on other sites

  • 4 weeks later...
I know that this topic is a bit old but you didn't update the post if you have it working or not. If you do nice I would like to post another solution to this problem if someone else runs across the same issue.

Open you VB6 project in notepad and find this line.

Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; MSCOMCTL.OCX

See the 2.0 in that line if it is 2.0 on yours as well then change it to 2.1

If you have 2.1 then change it to 2.0 or if you don't want to guess check the ocx version that is currently installed but the most common versions are those two then just save the notepad and open your project the regular way.

Good Luck
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...