Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get Registry Key returns Nil

Status
Not open for further replies.

JackW74

Programmer
Mar 16, 2005
2
0
0
US
This is in relation to my previous message titled "Detecting previous installation of MyApp.

I am trying to get the value stored in the name "Path" under \HKey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\AppPaths\MyApp.exe and then set this to a variable MyAppPath, but no value is returned. The registry does have the path value as C:\Program Files\MyApp.

Any help would be greatly appreciated.
 
Are you typing in the HKey_Local_machine in the Registry Key field? If not, please show what you are putting into the fields.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top