Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error loading Active X object in MM
Message
De
28/06/2006 16:12:23
Steven Kleypas
Tarrant County College District
Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Error loading Active X object in MM
Divers
Thread ID:
01132568
Message ID:
01132568
Vues:
62
This has probably been answered before, but I cant find info. I have a MM app/form that loads a TreeView and Imagelist control for navigation. It has worked flawlessly with VFP 6 and 7, however since recently upgrading to VFP 9 SP1, it crashes on the following line:

IF llOK
*-----------------------------------------
*--- Add the ActiveX control to the Parent
*-----------------------------------------
.Parent.AddObject(.cNewObjectName, .cClass, lcProgID)
ELSE
.
.
.

This = ImageListLoader
.cNewObjectName = "ImageList"
.cClass = "cImageList"
lcProgID = "MSComCtlLib.ImageListCtrl.2"

The error message is "Class definition cImageList is not found"

In reading VFP 9 help, it indicates that I should save a subclass of the ActiveX control to a VCX library. I am not sure what is meant by this. Also, would changing the base MM Framework class to use NewObject()instead of AddObject be a better solution? Thanks for any help
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform