Results 1 to 2 of 2

Thread: Windows registeries

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Location
    Karachi
    Posts
    551

    Windows registeries

    i have following small line of code

    Code:
    1.RegistryKey rkApp = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",true);2.3.4.                rkApp.SetValue("MyApp1", "C:\\WINDOWS\\myexe");

    now when i run code in c# (desktop application ) it make changes in registeries and .exe run when system start ..but the problem is whne i make setup and deploymemt of same code and deploy on server ..and install desktop application on server ..it does not make any entries .. any help

    do let me know when further EXPLANATION is required ...
    There is no achievement without goals

  2. #2
    PowerPoster
    Join Date
    Sep 2006
    Location
    Egypt
    Posts
    2,579

    Re: Windows registeries

    Try to play with these param of OpenSubKey Microsoft.Win32.RegistryKeyPermissionCheck and Security.AccessControl.RegistryRights



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width