Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Problem licensing comct332

Posted on 2004-10-05
10
Medium Priority
?
413 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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 2000 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

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…

971 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