GunaChinna

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

Re: Visual C# General My own application and My own extension-Registry


Re: Visual C# General My own application and My own extension-Registry

GunaChinna

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



Re: Visual C# General My own application and My own extension-Registry

Matthew Watson

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.




Re: Visual C# General My own application and My own extension-Registry

GunaChinna

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");





Re: Visual C# General My own application and My own extension-Registry

pastmaster

Where to add these lines Please help Smile