Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ole Server Without Installing VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00382114
Message ID:
00383219
Vues:
26
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform