Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I pass an object name to another form?
Message
From
02/04/2001 14:02:27
GW Gross
{Banned by Information Security Policy}
Lake Mary, Florida, United States
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00490967
Message ID:
00491008
Views:
10
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform