Solved

VB5 Cannot load control CommonDialog1; license not found

Posted on 2004-10-18
2
657 Views
Last Modified: 2008-01-09
Hello Experts,

I have been running VB5 on a Win98 machine for a very long time.  Well, I finally got a new machine with XP Pro.  I installed vb5 on my new machine and copied over my programs.

I have a project that uses the commondialog control.  When I load the project, I get a message "Error during load.  Refer to ... .log.  The log file contains the message: "Cannot load control CommonDialog1; license not found".  

In my project menu, I have checked the reference for Microsoft Common Dialog Control 6.0.  I also have checked the corresponding component.  The file comdlg32.ocx is in C:\windows\system32\ .

This project worked fine on my old machine Any ideas what might be wrong here?

Thanks for any help.
0
Comment
Question by:GeneM
2 Comments
 
LVL 32

Accepted Solution

by:
Erick37 earned 125 total points
ID: 12342249
You may try this:

FILE: VB5cli.exe Fixes Visual Basic 5.0 Control Installation Problem
http://support.microsoft.com/kb/181854/EN-US/
0
 
LVL 3

Author Comment

by:GeneM
ID: 12342466
Thanks Erick37.

That seemed to fix my problem!

GeneM
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

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 …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…

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