I searched the forums and msdn but especially the last didnt help me much.
I want a simple retrieval of the installation location of another program. I look up the url and it's: HKEY_CURRENT_USER\Software\FTDv3.7.3
I tried putting in the RegGetValue() and LONG RegQueryValueEx() but those aren't recognized by VS 2005. Then I searched the forums and found something like this:
but there is a problem with the last part, getvalue isnt correct and the original poster used setvalue but I do not want to set. The error is that i get an empty msgbox.Code:Dim thekey = Microsoft.Win32.Registry.CurrentUser.OpenSubKey("Software\FTDv3.7.3").GetValue("Standaard") MsgBox(thekey)
I use (Standaard) because that is what the name of the first and only REG_SZ is. But that's dutch for default so I guess I need something else.
I hope someone is willing to help although you probably think I should search harder, but really cant find the answhere:S.
Thanks in advance.




Reply With Quote