Automatically opening files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i've written a "notepad - like" application in vb.net that saves text to
files with my own file extension. i want the program to open and display the
contents of the file once the file is double clicked in windows explorer. how
do i pull this off. do i have to edit windows registry, if i do, what do i
have to add?. thanks
 
in explorer
Tools....Folder options....File Types....
 
Thank you very much for taking your time to read my question Dino, but the
problem is, i want this to be done automatically.
i don't want to have to do it manually. The main reason i'm trying to learn
this, is so that i can apply it to another program i'm writing, which i
intemd to distribute. I won't always be there when my program is being
installed. What i want to know is, what do i add to my registry. Another
thing is that it's one thing for the correct program to run, and its another
thing for my program to know that it has been opened by doubleclicking the
file with the appropriate file extension, so that it automatically loads the
text in the opened file. Please reply Thanks.
ps: i hope i'm not asking too much, but could you please include just a very
very small example for me. I'd really appreciate it. Thanks a lot
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top