#include registry.h Local cRetVal as String Clear oRegRead = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv") cKeyPath = "dataproc.processor\CLSID" iErrNo = oRegRead.GetStringValue( HKEY_CLASSES_ROOT, cKeyPath , , @cRetVal ) ? cKeyPath ? cRetVal ? iErrNoIt explodes I think on the value between cKeyPath and @cRetVal. I have tried putting in .Null. , Chr(0) , "" , " ", and ,, and it always blows up. How to address that?