Software Development Network>> Visual C#>> My own application and My own extension-Registry
strFilePath=
regRootKey=
regRootKey = regRootKey.CreateSubKey(
regRootKey.SetValue(
My own application and My own extension-Registry
Nathan Kerr
phobia
arturm
strFilePath=
@"C:\Guna\VS2005\AplnOpener\AplnOpener\bin\Debug\AplnOpener.exe";regRootKey=
Registry.ClassesRoot;regRootKey = regRootKey.CreateSubKey(
".guna");regRootKey.SetValue(
"", "AplnOpener");regRootKey.SetValue(
"Content Type",strFilePath); //regSubKey =regRootKey.CreateSubKey("OpenWithList"); //regSubSubKey=regSubKey.CreateSubKey("AplnOpener.exe");jvinsky
dayrinni
It contains source C# code that you can just use.
Look at their source code - it will show you what to do.