Hey everybody!
I'm new here and in C#
I start to study it by myself and I'm trying to create a right-click context menu command for sending
the filename and path to my program.
So far I got simple program with textbox
my goal is when I'm clicking on the right click context menu and selecting SendTo-> MyApp
it will open MyApp and put the filename and his path to the textbox.
Thanx!
Send filename by the Right-Click send to context menu
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Mahesh ChandRank #1 · 393K pointsPosted Aug 26, 2010, 6:22 AM EDT
You also need to overload the main method of your application so it can a parameter or use command line arguments options.
Search this site for pass command line arguments to learn how to pass command line arguments.
If you're still having problem, post it here.
Simon2 pointsPosted Aug 29, 2010, 8:21 PM EDT