Hi,
I created a windows application. When installed, it will create a desktop shortcut icon.
How can I make the shortcut icon of my application accept a single file by just dragging and dropping into it and automatically start processing the dropped file?
thanks in advance.
Loading
Gilmar PosesanoPosted May 6, 2009, 10:56 AM
That's actually the steps in deploying an application and creating a shortcut of my application on the desktop.
My scenario is this:
I already created a desktop shortcut of my application, all I want is to drag a file and drop it in the shortcut icon in the desktop (without double clicking the shortcut icon to open the application), assuming my application will only rename a file from current name to a new name that I want.
When I dropped a file into the shortcut icon it will automatically rename a file. It should not open the application when a file was drop instead it will process the renaming of a file.
Is this possible in C#?
I deeply appreciate your reply.
thanks in advance,
Kirtan PatelPosted May 5, 2009, 5:01 PM
File > New Project >Other Project type > Setup and Deployment
Then U can assign What File Will go where when installing and in ur case
Right Click on "User's Desktop Folder" in Left Pane and Select "Create Shortcut to User Desktop"
and Create shortcut of ur Executable in Application Folder
thats it
:)
Happy Coding :)