1. C

    Compare value in registry then delete and restart a service

    I need help writing a code to search through a list of computer names and checking for a registry value "HKLM\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent" and check the string AgentGUID for the value {4D604353-44D1-4EB2-A58F-B34207B785DC}. If the value is present delete the value and...
  2. adhossain

    Question Change Locked Registry key

    Hello, in my system, I have some locked registry keys which are not manually editable using RegistryEditor. Those are keys of my security program. So that I decided to make a service application using 2010 so that it can change the keys with its administrative privilege. But still I'm...
  3. THEKnet

    Deleting Registry Values not working?

    Hi, I haven't done much with for a long while. I'm trying to create a program I can distribute to remove a key from several hundred computers' registry's. Here's my code: Module Module1 Sub Main() Console.Out.WriteLine("Deleting Key")...
  4. Adagio

    Question Get registry value - x86

    I have been searching for a way to retrieve the full path for Outlook.exe and have managed to do it like this: Public Function GetOutlookPath() As String Return My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE", "Path"...
  5. J

    Question modify registry?

    how can i modify the registry withj vb net this is what i want to modify 'To Enable Remote DCOM in the computer "HKLM\SOFTWARE\Microsoft\Ole\EnableDCOM","Y","REG_SZ" 'To Set Authentication Level to Connect "HKLM\SOFTWARE\Microsoft\Ole\LegacyAuthenticationLevel",2,"REG_DWORD" 'To Set...
  6. D

    Question Can't write to registry

    The following code causes an error but should work. Any ideas? The same code (originally in REALbasic) does work so the currentuser (also an admin on the pc) does have access to write to the registry. Public Sub SavePreference(ByVal pref As String, ByVal value As String) Dim tmp As RegistryKey...
  7. B

    Question Sounds in the Registry

    I know how to access and play the system sounds using, and I also know that using the registry to save users' settings isn't ideal, however... The details of my project are rather long and drawn out, so I'll skip most of them. Basically my program is loaded onto several computers on our...
  8. peaveyyyy

    Question Registering an application for Camera Autoplay

    I have successfully dreated an application that recognises when a new drive or memory card is plugged in and allows the extraction of images from the drive (using Autoplay, basically). I simply registered the application with the Regsitry like this: Imports System.ComponentModel Imports...
  9. S

    Simplistic Registry Access - Any Issues With It

    I have been using what I think is a simplistic and easy way of reading and writing to/from the registry but whenever I look at code I keep seeing links to DLL's and constant decorations and lines and lines of code. Is there any reason why I shouldn't use the following: Friend Function...
  10. M

    Question Using registry key to autostart app?

    Hello, Can someone please teach me how to use registry key to make my application autostart.
  11. H

    Registration - String to Double?

    I am making a registration feature for my program, and so far, this is my code If UserID.Text * (KeyID.Text / 994) > "2067189894" And UserID.Text * (KeyID.Text / 994) < "2026581216" Then MsgBox("The User ID and Key are Correct! Click Register to complete registration for...
  12. Vrushank

    Question Exporting registry keys...

    How do you export registry entries to a .reg file? I mean like giving the user the option to backup registry changes before continuing... :o Please tell me the EXACT syntax for the available commands since the ones I found on the internet were not precise... :mad
Top Bottom