Solved

Problem licensing comct332

Posted on 2004-10-05
10
403 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

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…
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…
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…
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…
Suggested Courses
Course of the Month11 days, 3 hours left to enroll

632 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