Hello there,
I am trying to create an application which will open once the associated file type is clicked. I have associated my application with the extension .agl, via Visual Studio. When I publish the application and install it, the file is associated properly with my application and when I double click an .agl file my application starts. However, the file that opened the application, is not passed as a command line argument and so I can't load it!
Does anyone have any idea why the opening file is not passed as a command line argument? Note that I am using Environment.GetCommandLineArgs() to get the arguments.
Thank you