|
-
April 26th, 1999, 04:48 PM
#1
File/Application Association
In our appliaction, I want to implement a Explorer like feature. When you double-click on any file then to go to registry and find the associated app, To launch the app with the selected file.
Example - If you double click on Microsoft.doc file, then it should open Microsoft.doc in Word.
Any hints?
-
April 27th, 1999, 08:07 AM
#2
Re: File/Application Association
In the registry all the extensions and their associated app are stored in HKEY_CLASSES_ROOT. You can use this to launch the application.
-
April 27th, 1999, 08:10 AM
#3
Re: File/Application Association
use ShellExecute and specify the "open" verb. Do not specify an application, but only the filename (e.g. mydoc.doc or mypicture.gif) and let the API find the correct application to launch.
-
April 27th, 1999, 09:49 AM
#4
Re: File/Application Association
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|