When I double click on any file with the extension TXT, I want my VB application to open. I know how to do this manualy through the view options, but I would like to code it in to my application ?
Hi johnfra!<br>
<br>
Look in the registry for HKEY_CLASSES_ROOT\txtfile. You need to modify the open command to point to your program.<br>
<br>
Chip H.<br>
so what that means, john, is that you need to code a registry hack into your installation...<br>
<br>
Do so with care! <br>
<br>
Because, Chip, if he manually edits the registry, he might as well be doing it in view!<br>
<br>
MadArse --<br>
He may want to look at how some image editing & sound programs do it -- they tell you what they're about to do before they do it, then every time they run, they check to see if they are the default program for the extensions they're interested in. If they aren't, they give you the option to make themselves the default again (or not).<br>
<br>
I find that programs that switch my default behavior without telling me are very annoying, and it's a black mark against them.<br>
<br>
Chip H.<br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.