annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

ActiveX TreeView

Résolu !
Accéder à la solution

Hello everyone,

 

I'm facing a problem I cannot solve so I'm posting here.

 

I'm trying to migrate an application from LV 6.1|Windows2000 to LV 10|WIndowsXP, there are two activeX container that could not be loaded. I checked my windows\system32 directory and I have the comctl32.ocx in it.

 

Does anyone have a clue on what is happening and how to solve it? I don't want to recreate a tree and re-code the associated functions.

 

regards,

 

Rodéric L
Certified LabVIEW Architect
0 Compliments
Message 1 sur 11
4 430 Visites

Just replace the ActiveX objects with Microsoft TreeView and Microsoft ImageList.  You probably don't have the same versions of the controls on XP as 2000, so LabVIEW cannot find them.

0 Compliments
Message 2 sur 11
4 426 Visites

My mistake, I forgot to point that when I try to choose the Microsoft common controls 5.0 sp2 I get an error message. I manually loaded the comctl32.ocx without any luck.

Rodéric L
Certified LabVIEW Architect
0 Compliments
Message 3 sur 11
4 416 Visites

What is the error message?

0 Compliments
Message 4 sur 11
4 412 Visites

HI,

The error message says: "Class does not have any activation licence"

thanks

Rodéric L
Certified LabVIEW Architect
0 Compliments
Message 5 sur 11
4 401 Visites

I cannot load the control from the activeX example (labview example directory) either

Rodéric L
Certified LabVIEW Architect
0 Compliments
Message 6 sur 11
4 388 Visites

@Rodéric wrote:

HI,

The error message says: "Class does not have any activation licence"

thanks


You have a license issue, not a LabVIEW issue. The comctl32.ocx is a set of ActiveX controls that were designed for use in VB5 and VB6. Their use requires a design-time license. That ActiveX component is installed when you install Visual Basic on a computer, and hence installing VB automatically gives you a design-time license. That's the license the component is trying to access, and that's why it's unable to load. You may have a corrupted component, or it may not have registered properly. You could try re-registering the component library.

Message 7 sur 11
4 371 Visites

HI,

 

thanks for answering this thread, I already tried to re-register the comctl32.ocx using regsrv32. But it didn't solve the issue.

 

Is there a way to get a free licence? or a run time licence? Would a visual studio licence work?

Rodéric L
Certified LabVIEW Architect
0 Compliments
Message 8 sur 11
4 366 Visites
Solution
Accepté par l'auteur du sujet Rodéric

Installing Visual Basic Express 2008 solved the issue.

 

Thnak you Matthew and sMercurio_fc!

Rodéric L
Certified LabVIEW Architect
0 Compliments
Message 9 sur 11
4 355 Visites

Hello,

 

I have the same problem in runtime environment.

treeview control doesnt load in W7.

Object viewer found an exception : CLASSFACTORY_E_FIRST...CLASSFACTORY_E_LAST $80040112

 

Thank you for your help. 

0 Compliments
Message 10 sur 11
4 177 Visites