PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Re: Right mouse click/send to trigger an application event
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Re: Right mouse click/send to trigger an application event
![]() |
Re: Right mouse click/send to trigger an application event |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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! |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

