Link to home
Start Free TrialLog in
Avatar of colindow
colindow

asked on

Problems Loading certain controls in VB6

I am getting a message saying "No such interface supported" when I try to access the Components menu to add a component to the project. The components screen then loads but certain components can't be added to the project. e.g comdlg32.ocx gives the same message when I try to add it. However comctl32.ocx loads fine.

I've tried deleting all the registry keys for comdlg32.ocx and reregistering it but this didn't seem to change things. I will re-install VB6 but I have a feeling this will not fix the problem. I'm rather keen not to reinstall NT. I guess a recent program install has overwritten a dll etc but I'm not sure which.

While this may seem an NT question only VB6 seems to be affected compiled exe's etc seem to work fine.
Avatar of TimCottee
TimCottee
Flag of United Kingdom of Great Britain and Northern Ireland image

What version of comdlg32.ocx do you have on your machine, my NT4SP5 machine has 6.0.8105
Avatar of colindow
colindow

ASKER

I have 6.00.8418 dated in comments 22 Feb 99
Incidentally I'm on SP6
Try deleting the mscomdlg32.oca file in the \winnt\system32 folder and run regsvr32.exe /u mscomdlg32.ocx to unregister it then reregister it. If this still doesn't work, try downloading the vb6 fix file from http://support.microsoft.com/support/kb/articles/Q194/7/51.ASP which fixes various licence issues with controls on some versions of VB. Also make sure that you are running VB6 with SP4 or 5 as there are some incompatibilities with earlier versions.
ASKER CERTIFIED SOLUTION
Avatar of PeteD
PeteD

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks PeteD. This seemed to do the trick. The only slight change was that in fact it was the latest version of ComCat that was responsible. Version 5 whereever that came from. I reinstalled ver 4.71 from NT sp6 and followed you advice and that seemed to do it.

Thanks TimCottee for taking the time to respond.