Solved

Lost Control (MSCommonDialog)

Posted on 2000-03-20
2
503 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

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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access query that references subform 5 48
Visual Studio 2005 text editor 10 48
Excel Automation VBA 19 101
Assign a value in Excel V-Basic 3 28
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

685 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