Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom class INIT
Message
 
 
To
13/05/2009 20:01:20
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01399776
Message ID:
01399827
Views:
178
>Does anyone know if its possible to pass a parameter to the INIT event of a custom class which is defined in a prg file? I am trying to write a generic print server for use on the web that will serve multiple web apps. I would like for the server to know which web app created it. I can do this with a second call to a method of the server but was wondering if it could be done with the initial call. My gut tell me the answer is no, but I thought I'd ask anyway.
>
>Thanks

Is the class defined as OLEPUBLIC or not? If yes, then you can not do this.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform