General information
Category:
Coding, syntax & commands
Hi
If you know the file extention you can use the FindExecutable API function, this will return the associated exe of a file.
lcApplication=Findexecutable("c:\test.html")
this will return the location and name of your computers default browser.
Once you have the exe, you can use Shellexecute to launch the program.
Or you could just use the file to lunch the application
lnReturnValue=shellexecute(0,"OPEN, ""c:\test.html","","",1)
You will have to load these API in fox before you use them
Both these API are documented in the API section
Hope this helps
Steven Bowskill
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only