Solved

Problem licensing comct332

Posted on 2004-10-05
10
401 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: 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!

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

739 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