let's pretend I have a program who can read textfiles into a database.
How can I arrange my program so that if I doubleclick the textfile
my program starts and reads the file into the database.
I allready associated my textfiles to my program, so that the app runs,
but I really don't have a clue how the program knows that I have clicked my textfile.
Anyone??
Last edited by HWijngaarD; Jan 20th, 2006 at 04:00 AM.
you can put it wherever you want.. probably somewhere in the very beginning of the code.
you can debug it by setting a test command line argument in the projects properties. Set the command line to the full path of the file, and this will simulate your app being opened because a user double clicked that file.