Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active-X Controls On Containers?
Message
De
06/03/1998 16:21:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00083030
Message ID:
00083140
Vues:
20
>I have a container on which I have a crystal reports Active-X control. My idea was to use this container as a member of my application object so that I can reference reports easily throughout my app (something like goapp.oReport.ReportName = 'blah'). However, when I try to instanciate my container ( x=CreateObject('cntReport') )with the active-x control on it I get the error "object class is invalid for this container." I get this same error for any olecontainer control I drop on my container. Has anyone tried something like this and gotten any results? How can I add an active-x control to my container to be instanciated?


Don't know if it will help, but did you call SYS(2333) before attempting to instantiate the ActiveX control?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform