Hi,
You have to put this in the registry to open all files with the extension
*.000 with notepad.
**********************************
REGEDIT4
[HKEY_CLASSES_ROOT\.000]
@="000_auto_file"
[HKEY_CLASSES_ROOT\000_auto_file]
@=""
[HKEY_CLASSES_ROOT\000_auto_file\shell]
[HKEY_CLASSES_ROOT\000_auto_file\shell\open]
@=""
[HKEY_CLASSES_ROOT\000_auto_file\shell\open\command]
@="C:\\WINNT\\System32\\NOTEPAD.EXE %1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.000]
@="000_auto_file"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\000_auto_file]
@=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\000_auto_file\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\000_auto_file\shell\open]
@=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\000_auto_file\shell\open\command]
@="C:\\WINNT\\System32\\NOTEPAD.EXE %1"
*******************************************
I hope this helped?
Pieter
Michael said:
I would like to know how to implement double cliking a file to start up a
Windows form application using C#. Any sample or link would be highly
appreciated.