Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

webutil reading registry entries.

millest99Jan 28 2004 — edited Apr 30 2004
I have the following program unit that works in forms 6i using the win_api_environment.read_registry program unit.
l_filetype := WIN_API_ENVIRONMENT.Read_Registry
('HKEY_CLASSES_ROOT\'||l_extension, null, TRUE);

-- Get associated OPEN command e.g.
-- 'c:\win32app\msoffice\winword\winword.exe "%1"'
l_command := WIN_API_ENVIRONMENT.Read_Registry
( 'HKEY_CLASSES_ROOT\' || l_filetype
||'\shell\open\command'
, null, TRUE);

However, when I converted this to work with webutil by adding client_ to the win_api_environment, I get a no_data_found error.

In 6i, this returns the (default) value in the registry, if I change the null in both commands to '(default)', I still get no_data_found. If I insert a string value in the key I am looking at, it will return that key.

Basically, my question is how do I get the (default) value returned?

Thanks

Stephen
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2004
Added on Jan 28 2004
6 comments
821 views