My application writes out files with a *.dek file type. I've had a request from my users to be able to double click on these files, launch my app and open and process the file.
My questions are, then:
(a) How do I associate this file type with my app? I assume that there a Registry setting that I need to change (I can do that programmatically if I know what to change... )
(b) When my program launches, how can I tell that it was from double clicking that file (so that I can then enter into datafile open/read/process logic)?
Thanks
stephen.wales@riotinto.com
My questions are, then:
(a) How do I associate this file type with my app? I assume that there a Registry setting that I need to change (I can do that programmatically if I know what to change... )
(b) When my program launches, how can I tell that it was from double clicking that file (so that I can then enter into datafile open/read/process logic)?
Thanks
stephen.wales@riotinto.com