Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Extensions
Message
 
 
To
20/11/1998 16:54:18
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00159986
Message ID:
00160052
Views:
12
Chuck,

If you don't care what is associated with the extension you can just use ShellExecute() with the rtf file and let windows start the app. There's some examples on my website under Q&A, General.

>I make a RTF file and want to start-up the program who is associated with that program. I look into the win.ini and it doesn't have the RTF extension - I then looked though the Registry and saw some extension under "HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\EXTENSIONS", but when I look in Explorer to see what ext. is related to what app. There is more that both the win.ini and the registry put together. Does any one know how to get an application that is associated to the extension?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform