-
Hi there !
I need to know how to get the application path of the currently running form. How can this be accomplished in Forms 6i ? Is there a forms built-in or a property for this problem ? Or do I have to use a WIN API function ? If so, what's the name of it ?
My config. : Forms 6i, Win2K, Oracle 8i (on Linux)
Thanks in advance ...
-
Get_application_property (built-in)
-
This is not possible using the function get_application_property.
If you use the function get_application_property the list of valid values are viz.
1.APPLICATION_INSTANCE
2.CALLING_FORM
3.CONNECT_STRING
4.CURRENT_FORM
5.CURRENT_FORM_NAME
6.CURSOR_STYLE
7.DATASOURCE
8.DISPLAY_HEIGHT
9.DISPLAY_WIDTH
10.OPERATING_SYSTEM
11.PASSWORD
12.SAVEPOINT_NAME
13.TIMER_NAME
14.USER_INTERFACE
15.USER_NLS_CHARACTER_SET
16.USER_NLS_LANG
17.USER_NLS_LANGUAGE
18.USER_NLS_TERRITORY
19.USERNAME
So how do you get the application path
($ORACLE_HOME) using the function ?
Soumya
still learning
-
I solved the problem by myself, using the D2KWUTIL.PLL and there the function win_api_environment.get_working_directory(), which returns the current directory. So you don't have any problems with multiple paths in the FORMS60_PATH registry key.
-
Just curious:
Where did you find the "D2KWUTIL.PLL"?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|