Example. I find c:\mydir\memo.txt. I'd like to be able to double click
on it and have it open in Notepad. I understand file associations are
stored in the registry. One I don't understand how it works, two given
my level of skill I'd rather not dabble there. Can I make my own list of
associations and use that?
Help appreciated, TIA.
Martin
I think that if the associated extension has an 'open' verb in its
registry entry, all you need to do is use ShellExecute.
--
Jim Mack
Twisted tees at http://www.cafepress.com/2050inc
"We sew confusion"
> I think that if the associated extension has an 'open' verb in its
> registry entry, all you need to do is use ShellExecute.
Would you be kind enough to expand on that for a not too skilled VBer?
TIA
ShellExecute 0, "open", filename, "", app.path, 1
--
Heinrich
http://www.gartrip.de
mail: new<at>gartrip.de