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!

How to get desktop directory regardless browser

Michael TsilikidisFeb 10 2014 — edited Feb 14 2014

Hello everyone.

In forms 11g I'm using the method client_win_api_environment.get_working_directory to get the desktop directory to save files.

While this approach works fine when using IE and Firefox, the directory returned by this method when using Google Chrome varies. For example on my computer it's C:\Program Files\Google\Chrome\Application\32.0.1700.107 while on another is C:\Documents and Settings\some_user\Local Settings\Application Data\Google\Chrome\Application\31.0.1650.63

So the question is: if there exists a way, how do you get the desktop directory regardless browser?

Thank you in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 14 2014
Added on Feb 10 2014
4 comments
2,142 views