Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute
Message
From
15/09/2003 18:07:31
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00827713
Message ID:
00829176
Views:
24
>>Once I start an app with _ShellExecutehow can I close it through automation?
>
>Assuming it has an automation interface:
>
>
>oX = GetObject(,"Excel.Application")
>oX.Quit()
>oX = NULL
>
Fred, your code assumes that the name of the application is known. I was thinking of some call of ShellExecute / _ShellExecute with the keyword 'Close', but my attempts failed. Who else has a suggestion?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform