Re: Promblems whit ReadRegistry in Forms5.0

From: Guenter Huerkamp <guenter-huerkamp_at_t-online.de>
Date: Thu, 15 Jul 1999 16:46:15 +0200
Message-ID: <378DF436.5E36E79D_at_t-online.de>


Hello Eugen!
[Quoted] When you will only read the oracle keys then you can use the built-in-Function
tool_env.getvar
I've tryed this like:

tool_env.getvar('FORMS50_PATH',:forms50_path);
tool_env.getvar('reports30_path',:reports30_path);
tool_env.getvar('reports30_tmp',:reports30_tmp);
tool_env.getvar('tk25_icon',:tk25_icon);
tool_env.getvar('tns_admin',:tns_admin50);
tool_env.getvar('nls_lang',:nls_lang50);
tool_env.getvar('FORMS50_DEFAULTFONT',:FORMS50_DEFAULTFONT);
tool_env.getvar('FORMS50_USER_DATE_FORMAT',:FORMS50_user_date_format);

I've no solution for reading other keys from the registry. Hope this helps.

Günter

eugen_nyffeler_at_my-deja.com schrieb:

> OS : NT4.0
> Restrictions : Policy strategy on the NT-PC-Client (inc. Registry
> access).
>
> I have some information under 'HKEY_CURRENT_USER\SOFTWARE\....' which i
> try to read with WIN_API_ENVIRONMENT.ReadRegistry(). This works fine on
> my Development-PC where i have full access on the registry, but on the
> normal User-PC i'm only getting the error 'Cannot read Registry Entry
> ....' (The registry contains the values and the spelling is correct).
>
> The easiest way would be to change the policy strategy, but there's no
> way to do it.
>
> Some guy told me that in Windows programming you have to specify how you
> read the registry (something like different kind of read permissions).
> The WIN_API_ENVIRONMENT-Package doesn't provide such a functionality and
> i'm wondering if there's an other way to read the Registry in Forms,
> where i could try to specify this "Read-Level".
> Any Ideas, comments, suggestions, sampels, etc. ????????
>
> TIA
> eugen
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
Received on Thu Jul 15 1999 - 16:46:15 CEST

Original text of this message