|
-
November 26th, 1998, 11:25 AM
#1
reading Registry
How do i read the default path to the application that has been set as default for a file with a extention.
Example:-
If i pick up a file with say a .bmp extention how do i check the registry for the correct name and path to the associated application.
Thanks
-
November 27th, 1998, 02:55 PM
#2
Reading registry
Hi,
Idon't know but if you want to run the associated program you can use the ShellExecute function :
Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
I hope it can help 
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
|