Reputation: 31
Can somebody please help me and tell me what should I do open my project in Visual basic 6? When I open my previous project, I got the error
Upvotes: 2
Views: 6477
Reputation: 1348
You can find MSCOMCTL in your SysWOW64 (or system32 on 32 bit systems) and you can register it easily with the regsrv32 command.
regsvr32 c:\windows\syswow64\MSComCtl.ocx
For MSComCtl2 related problem the following worked for me:
regtlib msdatsrc.tlb
Visual studio may have removed entries for MSCOMCTL2 when it couldn't find referenced resource so you may have to revert the .vbp file after completing the above command.
Upvotes: 1