Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Pass Parameters to Init with CreateObject
Message
From
07/12/2006 13:15:52
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, United States
 
 
To
07/12/2006 01:51:22
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01175496
Message ID:
01175779
Views:
6
You wrote: "COM does not support passing parameters to the Init method."

Good morning Craig

Yes, that is certainly the way it appears. I am currently writing separate lines to pass in values to class properties.

BUT... the MS documentation says that CreateObject("myTest.myClass", param1, param2, etc) does pass the params to the Class's Init Event. I have unsucessfully found any docs that say otherwise.

Can you point me to a document reference?

Thanks
Don Lowrey
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform