Unable to load MSCOMCT2/MSCOMCTL in VB6 IDE using Windows 7 64bit

3.3k Views Asked by At

Hope you are well.

I've been having an absolute pain trying to load the MSCOMCT2/MSCOMCTL components in the VB6 editor.

The steps I have taken are the following:

I've successfully registered the components using regsvr32 in CMD with admin rights. Once I go to load the component that I registered, I'm given the component is not registered error.

I've even manually de-registered the components and re-registered them after restating my pc - nothing changes.

I've tried registering and referencing both components in the System32 and SysWOW64 folder.

I've uninstalled and reinstalled the VB6 IDE and repeated the above to no luck.

Even when I check regedit, the components seem to be registered and de-registered when expected.

Can anyone kindly suggest a fix?

Thank you!

1

There are 1 best solutions below

1
On

I managed to find a solution! After right clicking cmd as admin and hitting in the following:

"regsvr32 MSCOMCTL.OCX"

Type

"regtlib msdatsrc.tlb" <--------------------

That for some reason fixed it.....