Re: Promblems whit ReadRegistry in Forms5.0
Date: Fri, 16 Jul 1999 07:02:05 GMT
Message-ID: <7mmlda$7cq$1_at_nnrp1.deja.com>
Hello Guenter
No, i have to read other entries, such as a path where documents are stored and so.
eugen
In article <378DF436.5E36E79D_at_t-online.de>,
Guenter Huerkamp <guenter-huerkamp_at_t-online.de> wrote:
> Hello Eugen!
> 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.
>
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Fri Jul 16 1999 - 09:02:05 CEST