PC Review


Reply
Thread Tools Rate Thread

Automatically opening files

 
 
=?Utf-8?B?d2Fpc3R5IHZiLm5ldCByb29raWU=?=
Guest
Posts: n/a
 
      22nd Feb 2005
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
 
Reply With Quote
 
 
 
 
Dino Chiesa [Microsoft]
Guest
Posts: n/a
 
      22nd Feb 2005
in explorer
Tools....Folder options....File Types....

"waisty vb.net rookie" <waisty vb.net (E-Mail Removed)>
wrote in message news:E4234B37-A530-4AEC-9277-(E-Mail Removed)...
> 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



 
Reply With Quote
 
=?Utf-8?B?d2Fpc3R5IHZiLm5ldCByb29raWU=?=
Guest
Posts: n/a
 
      2nd Mar 2005
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

"Dino Chiesa [Microsoft]" wrote:

> in explorer
> Tools....Folder options....File Types....
>
> "waisty vb.net rookie" <waisty vb.net (E-Mail Removed)>
> wrote in message news:E4234B37-A530-4AEC-9277-(E-Mail Removed)...
> > 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

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening VCS files in firefox automatically Warrior Poet NY Microsoft Outlook Discussion 1 12th Feb 2008 05:50 PM
opening files automatically with Vista =?Utf-8?B?aGFyY29s?= Microsoft Outlook Discussion 3 30th Apr 2007 08:02 PM
How do I keep Outlook from automatically opening .gif files? =?Utf-8?B?Unlhbmc=?= Microsoft Outlook Discussion 1 21st Feb 2006 05:08 AM
Opening excel files automatically Hari Microsoft Excel Programming 6 10th Jun 2004 12:23 AM
Automatically opening files Buster Windows XP Internet Explorer 0 10th Aug 2003 05:07 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:21 PM.