-
1 Attachment(s)
programs - open with
When you open a program using the [open with>choose program] from the right click menu, the open with dialog appears, with a list of programs installed. Can i use this program list in my program.
I have a form which has 8 cmd buttons, each button loads a program from the path saved in the reg when i click it. The path of the program can be change on another form along with the caption of the button.
At the moment i use the browse dialog to find the program i want, but i would like to make it easier by using the open with dialog or make my own dialog.
How can i get this list of installed programs. Is it in the registry or something.
-
Re: programs - open with
You can use:
Code:
rundll32.exe shell32.dll,OpenAs_RunDLL [drive:\path\filename]
or just
Code:
rundll32.exe shell32.dll,OpenAs_RunDLL