I’m using VB
"InstallDir"="C:\Program Files\ QuickProjects.\QSUpdate"
Can anyone tell me how to read the full path from registery key?
Sometimes the path might be “C:\Projects\QuickProjects.\QSUpdate”, sometimes it might be “T1\root\Program Files\QuickProjects.\QSUpdate”.
I have no idea knowing what it is… That’s why i need to get it from the registry. Whatever path is in that registry entry is the path I need.
I just want my VB
.NET program to determine the full path from the registery key.
I know that the registery key is: HKEY_LOCAL_MACHINE\SOFTWARE\QuickProjects.\QSUpdat e
What I meant by "full path" is the location of where the
registry key been installed. For example: "C:\Program
And i tried this code too,
Dim key As RegistryKey = Registry.LocalMachine.OpenSubKey("Software\\QuickP rojects.\QSUpdate", False)
Dim value As String = CType(key.GetValue("InstallDir"), String)
key.Close()but value is nothing.
using regedit.exe i double check and Software\\QuickProjects.\QSUpdate exist.
If you know how to find out the path from registry key, please let me know.
Thanks in advance.