Solved

Problems Loading certain controls in VB6

Posted on 2001-08-08
6
459 Views
Last Modified: 2007-11-27
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
Comment
Question by:colindow
  • 3
  • 2
6 Comments
 
LVL 43

Expert Comment

by:TimCottee
ID: 6362981
What version of comdlg32.ocx do you have on your machine, my NT4SP5 machine has 6.0.8105
0
 

Author Comment

by:colindow
ID: 6363244
I have 6.00.8418 dated in comments 22 Feb 99
0
 

Author Comment

by:colindow
ID: 6363249
Incidentally I'm on SP6
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 43

Expert Comment

by:TimCottee
ID: 6363280
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
 
LVL 2

Accepted Solution

by:
PeteD earned 200 total points
ID: 6363638
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
 

Author Comment

by:colindow
ID: 6367079
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now