And how about making a file that can open by default, for example I have database file with extension '.tes', and I have a program that can open it, for example 'test.exe'
the problem is when I double click the .tes file, the Test.Exe isn't open by default, it just show the .tes contents file by notepad (so the default is notepad), and when I try to change the default into test.exe program (from Folder Options), in registry there is a binary value that has name ='EditFlags' and has value 00 00 00 00, and I think that this EditFlags made my .tes file opened by test.exe.....
and also, how to make my program (test.exe) so when the user put command = " test xxxxx.tes" then the test.exe program run and open the database file (which in this example is xxxxx.tes)
thank you....