Handle "send to" sent files from windows
-
Hi, Does anyone know how I can allow my application to "receive" files either through "Open With.." or "Send To.." from windows explorer. I've been searching but I don't know quite what phrases to search for. Can I also make sure that only one instance of my application is open at a time, and any new files get sent to the already opened instance. I'm coding in C# .NET 2.0 in VS 2005. Thanks for your help.
-
Hi, Does anyone know how I can allow my application to "receive" files either through "Open With.." or "Send To.." from windows explorer. I've been searching but I don't know quite what phrases to search for. Can I also make sure that only one instance of my application is open at a time, and any new files get sent to the already opened instance. I'm coding in C# .NET 2.0 in VS 2005. Thanks for your help.
Hi, 1. There is a SendTo folder under every user account. Just drop a link to your app there and it will show up in the Send To menu. 2. You can configure this under Explorer/Extras/Options/DataType. Visual Studio setup projects are able to automatically make the correct entries for your application. 3. Search this site for single instance[^]
-
Hi, 1. There is a SendTo folder under every user account. Just drop a link to your app there and it will show up in the Send To menu. 2. You can configure this under Explorer/Extras/Options/DataType. Visual Studio setup projects are able to automatically make the correct entries for your application. 3. Search this site for single instance[^]
-
Ok sorry, I wasn't very clear. I understand how to make file associations and to put things in the menus. But I don't know how to write the hooks in my code to allow me to process the file I receive.
In general you just have to evauluate the parameters your Main function has. Have a look at the link I have provided. It not only shows how to do this but also how to pass those arguments to an already running instance.
-
In general you just have to evauluate the parameters your Main function has. Have a look at the link I have provided. It not only shows how to do this but also how to pass those arguments to an already running instance.