I have an application that is generally run on a scheduled task. However I also have a shortcut on the desktop to run the application there and then. I am wanting a message box to pop up when the user double clicks on to the shortcut, but NOT on the scheduled task.
Share
Just add a command line argument to the shortcut and then check for the argument when your application starts, if found you are running from the desktop.