Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Without using openfiledialog

Tags:

c#-3.0

I want to send files to my application without using openfiledialog....lost??

OK.

You select a file in my documents, in the SendTo menu, I want my application to be an option, when you select my application, the file that was selected should be add to the list box in my application, the same way it would do if I was using openfiledialog. But I want my application to run in the background, which means I don't want to use openfiledialog.

Please help??

Using .NET 3.5

like image 527
Gerade Geldenhuys Avatar asked Jul 04 '26 12:07

Gerade Geldenhuys


1 Answers

I believe this is what you are looking for. You do not need to write any code to get your app in the 'sendTo' menu. Just following the instructions here:

HowToGeek - Customize 'Send To' menu

once the files / references are being passed to your app, you will have to write code to handle those command line args

like image 85
Glenn Ferrie Avatar answered Jul 11 '26 05:07

Glenn Ferrie



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!