Solved

Problems Loading certain controls in VB6

Posted on 2001-08-08
6
456 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

864 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

25 Experts available now in Live!

Get 1:1 Help Now