My own application and My own extension-Registry

My own application and My own extension-how to add in Registry

Answer this question

My own application and My own extension-Registry

  • Nathan Kerr

  • phobia

    Where to add these lines Please help Smile
  • 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

    Hi matthew, That uses their own dll and api's. I dont wanna use those. Tell the code if i could make my own.
  • dayrinni

    No, it doesn't use their own DLL and api's.

    It contains source C# code that you can just use.

    Look at their source code - it will show you what to do.

  • My own application and My own extension-Registry