Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ole Server Without Installing VFP
Message
From
22/06/2000 11:58:40
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00382114
Message ID:
00383219
Views:
25
>Hi Ed,
>
>Ok Do you Think that i can build one With Fox ?
>
>Ex: x = createObject("MyFoxApp.Application")
> or
> x = GetObject(,"MyFoxApp.Application")
>

You'd have to write a method to accept a string as input, and it could execute it via macro expansion, but the dangers of not being certain of execution states and error trapping would have to be dealt with. You also have to ensure that any command passed would not invoke any UI elements, since if it's an in-process server it will fail, and if an out of process server, it'll fire, but not in the context of the calling application.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform