Solved

Lost Control (MSCommonDialog)

Posted on 2000-03-20
2
494 Views
Last Modified: 2012-06-21
I am using VB5 and have been working on a program for a while.  Have not opened recently (~1 month).  Just tried to open to review code and try to optimize my code.  During the load into VB5 I am getting the following error:

System Error &80004002 (-2147467262). No such interface supported

Looking at the resulting LOG file created in my project directory, I see the following:

Line 20: Class MSGrid.Grid of control Grid was not a loaded control class.
Line 815: Class MSComDlg.CommonDialog of control Comdialog was not a loaded control class.

Looking at my form, I do not see the common dialog icon, just a blank 'box'.

I suspect that my VB5 comctl*.* or comdlg*.* file got overwritten when I downloaded a VB6 program and runtimes.  Can anyone give me some detailed commands to recover/register the VB5 versions?  I do not want to reinstall VB5 if possible.

I receive the same System error from within VB5 when I try to view the project components (Ctrl+T) and when it does come up, all controls, designers, and insertable objects fields are blank, even though I know that I am using insertable items in my project.
0
Comment
Question by:jbetts
2 Comments
 
LVL 32

Accepted Solution

by:
Erick37 earned 200 total points
ID: 2636934
"PRB: System Error 'No Such Interface Supported'"

http://support.microsoft.com/support/kb/articles/Q183/3/70.ASP
0
 

Author Comment

by:jbetts
ID: 2636986
Thanks Erick37, worked perfectly.
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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

932 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

10 Experts available now in Live!

Get 1:1 Help Now