I'm a novice VB programmer and I'm having trouble reading in a registry key value. What I'm trying to achieve is to read in a string value located in:
This value specifies a drive letter.
Here is the syntax I'm trying to use:
GetSetting( "HKEY_LOCAL_MACHINE\SOFTWARE\Creativeware", "Job Start", "InitDrive")
where G_Current_Drive is a global string variable.
After the user selects another drive letter, I want the program to update the value in the registry, so when the user runs the application and has to choose a drive letter again, it goes back to the last drive letter they were in.
I'm trying to use the "GetSetting" function to retrieve this key, but I can't seem to get it to work. Am I on the right track? I would be grateful for any advice or solutions. Thanks in advance.