Hi...
I want some help in registry editing Actually i am using this code
It works well when i run the application from visual studio but it does not works when system starts. however it set registry well.
Thanks
I want some help in registry editing Actually i am using this code
Code:
namespace ConsoleApplication2
{
class Win_start
{
static void Main(string[] args)
{
RegistryKey rk = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);
rk.SetValue("a", Process.Start("c:/test.pdf"));
}
}
}
Thanks
Comment