Hi Keith,
Sorry, maybe my English not good so that you are not undertood my question.
I've read "Create Document - Centric Application in Windows forms, Part 2" topic in MSDN.
Here is code:
// Register document icon with the shell
string icokey = @"rorfile\DefaultIcon";
using( RegistryKey key =
Registry.ClassesRoot.CreateSubKey(icokey) ) {
// Map ProgID to a document icon for the shell
key.SetValue(null, @"%SystemRoot%\system32\shell32.dll,-10");
}
Now, I want that code like this:
key.SetValue(null, @"MyApp.exe, 5");
How to do?
Thanks