Ok, I'm really pulling my hair out on this and have tried a few questions on different things, like on how to debug, but I haven't had much luck so far. Basically, my application comes up, and the user does some things. At some point, the user can save their settings to an output file with the extension of .abc (in raw text format). This extension is registered and becomes editable by the application. So, the user double clicks the file and it brings up the application to the main form view. That all works fine and dandy. If I view the .abc file in notepad, I can see all of my settings that I have saved. My question is, how can you make the application read the several lines of text, and know the program was entered from the file, instead of just selecting to run it from programs? For example, when they save their settings it might look something like this in notepad:
firstname=john
lastname=hancock
address=1234 somewhere road, atlanta, GA 12345
When the user double clicks the file to start the program, I would like the form to recognize there are start up parameters, and fill in the appropriate stuff on the form. So maybe the form will display "Hello john hancock, welcome back" or something of that nature. Is this a possibility? I could make the application force you to select file->open and read the text file in that way, but the preferred method is to do everything in one fail swoop.
Thanks!