DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Getting Application Path

  1. #1
    Join Date
    Nov 2000
    Posts
    6
    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 ...

  2. #2
    Join Date
    Dec 2000
    Posts
    1

    Smile

    Get_application_property (built-in)

  3. #3
    Join Date
    Jun 2000
    Location
    Conway,AR,USA
    Posts
    29
    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

  4. #4
    Join Date
    Nov 2000
    Posts
    6
    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.

  5. #5
    Join Date
    Oct 2000
    Posts
    123
    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
  •  


Click Here to Expand Forum to Full Width