Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute
Message
From
14/09/2010 11:31:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01481103
Message ID:
01481128
Views:
60
>>thank very much everybody
>>
>>>>>>Hi all, I cannot find the procedure I've done to run external application using ShellExecute.
>>>>>>Is therre anybody who can write me a shorte example ?
>>>>>>I need to wait this application to be closed, if possible, before having back the focus
>>>>>>
>>>>>>I think to remember i was using something like
>>>>>>oWsh = CREATEOBJECT("wscript.shell")
>>>>>>
>>>>>>
>>>>>>thanks
>>>>>>Alessio
>>>>>
>>>>>I think you mean:
>>>>>
>>>>>
>>>>>oShell = createobject("WScript.Shell")
>>>>>oShell.Run("c:\somefolder\my.exe",1,.T.)
>>>>>
Cetin
>>>>
>>>>I meant that but I need to open a specific document and not just run an executable. I was wrong sorry :)
>>>
>>>
>>>It is the same:
>>>
>>>oShell.Run("c:\somefolder\myDocument.doc",1,.T.)
>>>
>
>The solution should goes to Cetin :-)))

Oh I don't have such a problem buddy:) Take care.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform