المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Changing registry settings through .Net app



C# Programming
12-30-2009, 02:00 AM
Hi Friends,

I want to do some registry settings changes through my .net app. Registry settings change will happen only in the "Settings" part of the app like "Starts at Windows" i.e. put an entry in the "Run" key. But to do this things in Win7 or Vista I am experiencing problems like Unauthorized access due to UAC. I am not being able to change the settings. I don't want to run the app in admin mode each time it runs, I just only want to elevate the permission at the time of changing the registry settings. Can anyone please help me out in this situation on how to accomplish this task like by modifying manifest file or putting permission attribute, anything at all.

Thanks in advance.

Anindya Chatterjee
--------------------------------------------------------
1. Don't Visit .. (http://www.co.cc/?id=139190)[^ (http://www.co.cc/?id=139190)]

2. But Watch .. (http://rapidmovieshare.blogspot.com)