Solved

Problem licensing comct332

Posted on 2004-10-05
10
390 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 69

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 69

Expert Comment

by:Éric Moreau
ID: 12225772
copy the ocx from your setup kit to your development PC and rerun vb6cli.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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 69

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 69

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 69

Expert Comment

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

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
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 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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now