PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Re: Right mouse click/send to trigger an application event

Reply

Re: Right mouse click/send to trigger an application event

 
Thread Tools Rate Thread
Old 14-12-2005, 06:44 PM   #1
Jim Wooley
Guest
 
Posts: n/a
Default Re: Right mouse click/send to trigger an application event


To add an item to the Send To folder, you just add a shortcut to your app in
the C:\Documents and Settings\%UserName%\SendTo folder. Once you have done
this, your app will get launched with a command line arg of the file that
was "sent".

The tricky part is handling the single instance app issues. It is fairly
easy in Winform 2.0. If you need to do it in 1.0/1.1, check out
http://devauthority.com/blogs/jwool.../07/28/318.aspx for one
solution.

Jim
MCSD.Net

"Zheng Chen" <ZhengChen@discussions.microsoft.com> wrote in message
news:45A03BB7-8204-4E67-AD2C-70C53F8E4A04@microsoft.com...
>I would like to trigger an event in my application -- "MyApp" by right
>mouse
> click on any file in the windows explorer and select "Send To" then choose
> "MyApp". My application is already up and running. It is written in c#.
> Any
> idea how to trigger an event to process this in .net?
>
> Thanks a lot in advance!



  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off