? oReg.IsKey('',[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles]) ? oReg.OpenKey([Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles],[HKEY_CURRENT_USER]) == 0The first line returns a .T.
? oReg.OpenKey('',[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles]) == 0This time I get a .T.
lcValue = '' ? oReg.GetKeyValue('DefaultProfile',@lcValue) == 0I get .F. (I've also tried lcValue = space(255)) Anyhow, I just can't seem to be able to get that value from the Registry.