Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run class from EXE
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01017632
Message ID:
01017642
Views:
25
Since you're sure that the class is OLE PUBLIC, I would ask if you have restarted VFP and tried it. Maybe something is hung up in memory that is preventing the class from instantiating again.


>>>I have built an exe module.
>>>I am using the following code to run from a command line an OLE public class:
>>>o = CREATEOBJECT('executablename.classname')
>>>In Init of the class I have This.Visible = .T.
>>>It worked for one time. I mean the class became visible. But then as many times I am running the command the class is not visible.
>>>Any help, please?
>>
>>
>>oEXEClass = CREATEOBJECT('executablename.classname')
>>oEXEClass.Visible = .t.
>>
>
>That would be too easy :)
>Nope, I tried that.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform