Solved

Problem licensing comct332

Posted on 2004-10-05
10
395 Views
Last Modified: 2013-12-26
I'm working on a VB 5.0 application that uses the CoolBar control from Microsoft Windows Common Controls -3 6.0 (comct332). I realize that this control comes with VB6.0 but have used it successfully with VB5.0.

I recently moved my VB development to another W2000 machine and now the CoolBar control does not work. I am getting an error log message that says the control cannot be loaded because the licence cannot be found. The interesting thing is that when I look at the Components added to the project I see the proper reference to the comct322.ocx file. On the other hand, when I look at the References in the project I see vbcxxxxx.oca (instead of comct322.oca)... the 'xxxxx' are numeric values.

I've tried unregisterring and reregisterring the ocx but that does not seem to solve the problem.

I've also run the vbfix utility (for VB5.0) that is supposed to fix licensing issues.

The most recent thing that I tried was creating an application setup on my original development machine and running it on the new one. When the application is installed on client machines it runs fine but, even after this, I still get the license missing message.

Any help or ideas would be greatly appreciated.
0
Comment
Question by:JPolley
  • 5
  • 2
10 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12225595
Since it is a VB6 control, you need to run vb6cli.exe (http://support.microsoft.com/default.aspx?scid=kb;en-us;194751&Product=vb6)
0
 

Author Comment

by:JPolley
ID: 12225650
Yeah, that's what I thought too. I downloaded and tried to run vb6cli.exe but, because I do not have VB6.0 installed on the new development platform it would not run. I have never installed VB6.0 on my original development platform either yet the control works just fine there. Maybe there is some other application or program that I've installed on my original platform that would have properly licensed the control... I'm not sure and can't really think of what it would be anyway. I did see something about needing IE3.0 or higher to use the CoolBar control... both platforms have the latest IE version.

Moreover, when I've installed my application on client machines (using the VB setup utility to create the setup.exe) the programs have run okay - CoolBar included. Even after I ran this same setup on the new development platform the control did not work.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12225772
copy the ocx from your setup kit to your development PC and rerun vb6cli.
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Author Comment

by:JPolley
ID: 12225910
I copied the ocx file onto the development PC but the vb6cli will still not run because vb6.0 cannot be found on that machine.
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 12226513
I just saw from the link I gave you:

"VB6Cli.exe requires that an edition of Microsoft Visual Basic 6.0 be installed on the system where the utility is going to be used."

It seems that you will need to install VB6.0 in order to use the Coolbar in the IDE.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12226524
see if you could replace it easily with these: http://www.vbaccelerator.com/home/VB/Code/Controls/Toolbar/index.asp
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12815729
Recommandation: Points to emoreau
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

776 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