Questions tagged [registrykey]
355 questions
-1
votes
1 answer
Create Registry Key (and Subkeys)?
I am trying to create a registry key and subkey for enabling IE 11 enterprise mode for all users on a machine. This is what I am using for my VBScript currently and it is failing horribly (does not add the key). I could use some assistance in…

blaq
- 59
- 1
- 8
-1
votes
1 answer
C# - How can I get data from a registry key by a button.Name or button.Text?
I am creating an app in C# and want to load a registry key that the name is equal to the button.Name (or button.Text if not possible). Can someone illuminate me how to do this please?
public OptionsForm(Button btn)
{
// RegBtnName = Registry key
//…

Wayne Scicluna
- 47
- 5
-1
votes
1 answer
How can I get the value of a registry key in c++ without an access violation?
Hey I'm new to C++ and I am trying to find out if a specified registry index exists. I have to check multiple locations due to the possibility of the software being run on a 64bit machine and being under the WOW6432Node key instead of the usual…

en93
- 19
- 2
-1
votes
1 answer
Changes to TRegistry key dont 'hold'
From my Win32 app I'm reading and writing HKEY_CURRENT_USER\Software\Embarcadero\BDS\9.0\History Lists\hlRunParameters, that is where the Delphi XE2 IDE writes run-time parameters.
This is the write code:
procedure…

Jan Doggen
- 8,799
- 13
- 70
- 144
-2
votes
1 answer
Error : Access to the registry key 'HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0' is denied. Due to Tfs pendEdit
I need your help because my asp.net App is working on Local but on server it's create this error:
Access to the registry key 'HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0' is…

Nicolas Roche
- 105
- 1
- 1
- 14
-2
votes
1 answer
Registry key as username and password
I have a small requirement, currently we are migrating an application from .net 2.0 to .net 4.6.2 framework. Here the problem is application login details such as username and password are given through registry key. Now we are unable to use the…

Sanath Pabba
- 1
- 2
-2
votes
1 answer
how to fix error create key registry read-only
My code here:
private void button1_Click(object sender, EventArgs e)
{
RegistryKey Hklm = Registry.LocalMachine;
RegistryKey HkSoftware = Hklm.OpenSubKey("Software");
RegistryKey HkMicrosoft = HkSoftware.OpenSubKey("Microsoft");
…
-2
votes
1 answer
Regsvr32 /u - Unregister DLL
Regsvr32 /u can unregister the DLL but can't remove its corresponding entries in the registry.
Is there a script or tool that can i use to remove all these registry values? I cant remove it one by one there are too many entries.
It is more…

Anonymous Duck
- 2,942
- 1
- 12
- 35
-4
votes
1 answer
Application running successfully on development machine but crashing on another machine
In the event log i am getting following line, could someone please help me for this.
Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 1026
Date: 01/06/2013
Time: 11:20:06
User: N/A
Computer: …

Sam Khan
- 7
- 4