[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 488
  • Last Modified:

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.
0
colindow
Asked:
colindow
  • 3
  • 2
1 Solution
 
TimCotteeCommented:
What version of comdlg32.ocx do you have on your machine, my NT4SP5 machine has 6.0.8105
0
 
colindowAuthor Commented:
I have 6.00.8418 dated in comments 22 Feb 99
0
 
colindowAuthor Commented:
Incidentally I'm on SP6
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
TimCotteeCommented:
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.
0
 
PeteDCommented:
Ensure that you do not have conflicting verions of comcat.dll on your PC. Search your entire route directory for comcat.dll, make sure the most recent version is in your system directory, and delete the rest.
0
 
colindowAuthor Commented:
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.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now