• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 529
  • Last Modified:

Lost Control (MSCommonDialog)

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.
1 Solution
"PRB: System Error 'No Such Interface Supported'"

jbettsAuthor Commented:
Thanks Erick37, worked perfectly.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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