Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I pass an object name to another form?
Message
De
02/04/2001 14:02:27
GW Gross
{Banned by Information Security Policy}
Lake Mary, Floride, États-Unis
 
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00490967
Message ID:
00491008
Vues:
9
Eric Said:

You can use:
Dim crReport as object
Set crReport = createobject(ReportName)
Éric Moreau, MCSD, MCT
Conseiller Principal / Senior Consultant
Concept S2i Inc. (www.s2i.com)


----


I tried that and the command looks good but when I run the program I get run time error 429 - ActiveX component can't create object. Looking at the help text, it appears that createobject wants to only create an object if it is an ActiveX dll. The object I want to create it a Crystal Reports Designer (crBatchSummaryReport.dsr) that is part of the application. Will this work? Am I missing something else?

Thanks
GW Gross

"You are blessed when you're content with just who you are - no more, no less." Matthew 5:5 (The Message)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform