Hi, Im developing a mobile application in dot net Compact framework. I managed to edit the registry HKEY_CLASSES_ROOT so that a click on file with .xyz extension will open my application. basically, i need to do some operation on this file when it's clicked.
however, i realise that if i do that the first time, it reaches program.cs at static void Main
. but when the program is running and i click on the file with .xyz extension again, it doesnt loads the program static void Main
. i tried setting breakpoints at the form that is currently running but still nothing.
so where does it go to? how can i detect file .xyz is clicked and do something??