Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to open an unknown file
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Best way to open an unknown file
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows NT
Miscellaneous
Thread ID:
01132116
Message ID:
01132116
Views:
64
Does anyone know the best way to open a file using its associated program, regardless of the file type?

There has to be an API call or combination of API calls but I can't find it.

I already have the full path and file name, I just need to add an open button so the user can open and view the file from VFP. The file can be any type, i.e. XLS, DOC, HTM, INI, PDF, RTF, TXT.

TIA,
Mike
Mike Coop
MIU - Data Analyst III
Kemper a Unitrin Business
(904) 245-5949
mcoop@eKemper.com
Next
Reply
Map
View

Click here to load this message in the networking platform