|
Re: Setting of ICON in Oracle 10G Application Server [message #316479 is a reply to message #312467] |
Fri, 25 April 2008 05:29 |
shahmayur
Messages: 22 Registered: November 2007 Location: London, UK
|
Junior Member |
|
|
Displaying Icons on Push Buttons
Forms 10g no longer supports ICO files as icons for the buttons. You will need to convert your icon files into GIF or JPG format.
Design time Configuration
To display the icons in your Forms builder, modify your windows registry Hkey_Local_Machine\Software\Oracle\<Forms10g_Home>\UI_ICON by entering the path of your GIF/JPG files for e.g. C:\MY_APP\ICONS.
Runtime Configuration
1) Creating Jar file
i) Once you are ready with your GIF files or JPG files, create a folder called ICONS. You can create this folder anywhere. For e.g. you can create ICONS folder on a C drive under root directory or as a sub-folder under any folder.
ii) Assuming you have created ICONS folder as a root folder on C drive, now copy all your GIF files in this folder.
iii) Go to the DOS prompt and enter cd\
iv) At C:\ prompt enter the following command to create Java Archive File (JAR) called my_icons
Jar –cvf my_icons.jar icons
v) Copy this file in <Forms10g_Home>\Forms\Java folder.
Please remember that having the name of the folder holding GIF/JPG files as ICONS is very important. Because if the folder name is something else, icons will not be displayed in your form at run time. This reason is not mentioned anywhere in Oracle’s documentation. I learnt about this through metalink (Service Request no. 6602276.993) after struggling for more than one day to display the icons.
2) Modify REGISTRY.DAT file
i) Open this file located in <Forms10g_Home>\forms\java\oracle\forms\registry folder.
ii) Append the existing parameter default.icons.iconpath as follows:
default.icons.iconpath=icons/
iii) If you are going to use GIF files as image files for icons, then leave the existing parameter default.icons.iconextension=gif as it is. If you want to use JPG files instead of GIF files, replace GIF with JPG as shown below:
default.icons.iconextension=jpg
3) Modify FORMSWEB.CFG file
This file exists under <Forms10g_Home>\Forms\Server folder.
Append the following existing parameters:
i) imagebase=codebase
ii) archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,my_icons.jar
|
|
|
|
|
|
|
|
Re: Setting of ICON in Oracle 10G Application Server [message #397606 is a reply to message #312467] |
Mon, 13 April 2009 00:32 |
sirfkashif
Messages: 70 Registered: September 2007 Location: Rawalpindi
|
Member |
|
|
1. Go to "Oracle_HOME"/forms/java/oracle/forms/registry
2. Open registry and change the following parameter (change IP) accordingly
3. default.icons.iconpath=http://your_IP:7778/forms/icons
4. default.icons.iconextension=gif
5. go to "Oracle_HOME"/forms/server/form.config
6. add the following line and change accordingly
7. AliasMatch ^/forms/icons/(..*) "c:\icons/$1"
where c:\icons is the icons directory.
Hope this helps
Note "Oracle_HOME" is application server home not Developer Home.
Regards,
Kashif
|
|
|
Re: Setting of ICON in Oracle 10G Application Server [message #397607 is a reply to message #312467] |
Mon, 13 April 2009 00:32 |
sirfkashif
Messages: 70 Registered: September 2007 Location: Rawalpindi
|
Member |
|
|
1. Go to "Oracle_HOME"/forms/java/oracle/forms/registry
2. Open registry and change the following parameter (change IP) accordingly
3. default.icons.iconpath=http://your_IP:7778/forms/icons
4. default.icons.iconextension=gif
5. go to "Oracle_HOME"/forms/server/form.config
6. add the following line and change accordingly
7. AliasMatch ^/forms/icons/(..*) "c:\icons/$1"
where c:\icons is the icons directory.
Hope this helps
Note "Oracle_HOME" is application server home not Developer Home.
Regards,
Kashif
|
|
|
|
Re: Setting of ICON in Oracle 10G Application Server [message #397636 is a reply to message #397606] |
Mon, 13 April 2009 02:01 |
irfankundi786@yahoo.com
Messages: 269 Registered: February 2009 Location: pakistan
|
Senior Member |
|
|
I folow yours step but still my problem is not solved.
I want to configure it on local machine not on Application Server.
please help how i can do it.
I have done the folowing steps.
default.icons.iconpat=D:/DevSuiteHome_2/forms/icons
default.icons.iconextension=gif
AliasMatch ^/forms/java/(..*) "c:\ICONS/$1"
but not solve my problem .
How i can do.
I want to configure it on developer 10g.
|
|
|
|
|
Re: Setting of ICON in Oracle 10G Application Server [message #405693 is a reply to message #312467] |
Fri, 29 May 2009 01:57 |
sanjeev_thoppil
Messages: 4 Registered: May 2009
|
Junior Member |
|
|
Please check the following procedure which worked out for me.
1. <<home>>\forms\java\oracle\forms\registry\registery.dat
file add :default.icons.iconpath=SANJEEV/
and default.icons.iconextension=gif
2. This SANJEEV will be folder in which you save all the .gif
files.
3. Make a directory SANJEEV in
<<home>>\forms\java\
4. Copy all gif files to SANJEEV folder.
5. In command prompt enter the path for java.exe
path=d\ORACLE_APPLICATIONS\jdk\bin
6. Now in command prompt goto the SANJEEV folder.
7. In command prompt type
jar -cvf my_icons.jar *.gif
8. Move the file that is created ie. my_icons.jar to
\\<<home>>\forms\java folder.
9. In formsweb.cfg add to existing
archive=frmall.jar,my_icons.jar
archive_jini=frmall_jinit.jar,my_icons.jar
The above configuration should solve the problem.
|
|
|
|
|