Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

Error reading registry key

$
0
0
Hi,

I have the following code :

Code:

if (not Registry.DoesKeyExist(HKEY_CLASSES_ROOT, "CielGestionCommerciale.Application\\CLSID")) then
        Dialog.Message( "Warning", "App is not registered on this pc !");
        Application.Exit();
        else
        CielGestionCLSID = Registry.GetValue(HKEY_CLASSES_ROOT, "CielGestionCommerciale.Application\\CLSID", "");
        Dialog.Message("CLSID", CielGestionCLSID );
end

I want to get the (Default) value of the CLSID and according to the documentation, I must pass "" as parameter.

Any clue ?
thanks in advance,
Domi.

the Registry.DoesKeyExist works fine but I get the following error on the Registry.GetValue :

Code:

On Startup, Line ..:3 arguments required.
Stack Traceback...


Viewing all articles
Browse latest Browse all 2105

Trending Articles