I made the assumption that doing so would call the app with the filename as a command line argument, but this seems to go a bit weird. I added this to my Main:
Expand|Select|Wrap|Line Numbers
- static void Main(string [] args) {
- if(args != null && args.Length > 0) {
- // Do Something here.
- }
- else {
- // Do something else here.
- }
- Application.Run(new Form1());
- }
The worst part is that because dropping onto the icon is how i need the app to start, I can't use vs.net to debug it! :(
Help please? :D