Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving Windows File Associations via VFP
Message
From
02/06/2003 11:30:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
02/06/2003 11:25:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00795191
Message ID:
00795256
Views:
50
>Cetin,
>
>Can you give me example of how to call this Method from another form or .PRG file (passing in extension).
>
>Fred Z

lCExecutable = GetExecutable('doc')
? lcExecutable

But as I said in first reply I'm not clear what you're trying to do. This would return the exe name associated with an extension. If you don't really need executable's name use :
-Wscript.Shell as George suggested if you need to wait for it to finish.
-If you don't need to wait for that app to finish then use ShellExecute().
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
Next
Reply
Map
View

Click here to load this message in the networking platform