Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Path of Current Folder 1

Status
Not open for further replies.

taqmeena

Programmer
Mar 22, 2005
53
PK
who can we give Path of Current Directory.

Actually i had made an Button. i have set the type Iconic To YES. i had Tried To give Path To my icon but it did'nt work.
i used with extention .ico and also without extention.
 
Have you changed/created the UI_ICON registry variable to include your icon path? If so, make sure there are no spaces in the directory names in the path.
 
Sorry, i Dont Know How to create the UI_ICON Registry Variable.

Kindly Tell me How?

Please Tell Me the way to give Path
Both For Forms and Icons

How Can we Give The Path of Sub Folder of Current Folder.
as
F:\abc\def\ghi - Contain Calling Form
F:\abc\def\ghi\jkl - Contain Called Form

Here Can we Say in Calling Form " \jkl\formname"
To Avoid Writing Full Path
F:\abc\def\ghi\jkl\formname
 
You can use regedit to modify registry variables, and you need to look in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE for the forms 6i keys.

Create or modify the FORMS60_PATH key with the value

[tt]<existing path>; F:\abc\def\ghi; F:\abc\def\ghi\jkl[/tt]

Create or modify UI_ICON to point to the location of your icons.

If you do not know how to use regedit then BE VERY CAREFUL when using this util as the registry contains many system variables that can mess up your system if you change them.

An alternative way of entering registry variables is to create a .REG file. Create a text file containing the following lines:

[tt]REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE]
"FORMS60_PATH"="F:\\abc\\def\\ghi; F:\\abc\\def\\ghi\\jkl"
"UI_ICON"="F:\\abc\\def\\ghi"[/tt]

Call the file FORMS.REG. When you have saved it, simply double-click it from Windows Explorer and it will save those keys to the registry.


As a final note, the path Oracle forms will take in its search for other forms or called modules is as follows:

1) Current Working Directory
2) FORMS60_PATH
3) ORACLE_PATH (also in HKLM\SOFTWARE\ORACLE)

The search for icons is similar, except that UI_ICONS is used instead of FORMS60_PATH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top