Christopher
November 26th, 1998, 10:25 AM
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
christopher
November 26th, 1998, 10:25 AM
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
Neph
November 27th, 1998, 01:55 PM
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 :)