Home » Developer & Programmer » Forms » Problems to display Icons (Oracle 10g, Windows XP)
Problems to display Icons [message #314692] |
Thu, 17 April 2008 08:49  |
Aruki
Messages: 1 Registered: April 2008 Location: Panama
|
Junior Member |
|
|
Hello everyone, i have problems to display icons in a task bar in an application that is being migrated from oracle 4.5 to 10g in windows xp.
The task bar shows all the icons in the original aplication but when the application runs in 10g, just some of the icons are shown, not all of them.
All the icons are in the same file direction "C:\file\iconos" and they're all gif files.
I have added the file locatoin to the configuration of the registry.dat,forms, in the registry of the computer, in the orion and orion-web files and in the default file following advice given to other threads here but the problem stays in the application.
I have added also the variables to the registry of the coputer for UI_ICON and UI_ICON_EXTENSION with their values.
I have read and followed the help of oracle forms builder but it has not helped.
Please give me your advice on this problem,
Greetings.
|
|
|
Re: Problems to display Icons [message #315433 is a reply to message #314692] |
Mon, 21 April 2008 08:33   |
Manoj.Gupta.91
Messages: 239 Registered: March 2008 Location: Delhi
|
Senior Member |
|
|
Hi Aruki,
I'm also facing the same problem. I've achieved this in Developer Suit (10g) but I'm not able to achieve it on Application Server (10g)
what I did on Developer Suit (10g) is
1) Edit this file....
C:\DevSuiteHome_1\forms\java\oracle\forms\registry\Registry.dat,
default.icons.iconpath=
to
default.icons.iconpath=ICONS/
Save the file and exit.
2) Edit the file....
C:\DevSuiteHome_1\j2ee\DevSuite\application-deployments\forms\formsweb\orion-web.xml .
<virtual-directory virtual-path="/ICONS" real-path="X:\ERP\ICONS" />
3) Edit the file....
C:\DevSuiteHome_1\forms\server\default.env.
FORMS_PATH=X:\ERP\FORMS;C:\DevSuiteHome_1\forms
and save it
4) Edit your registry
Name Data
FORMS_PATH X:\ERP\LIB
UI_ICON X:\ERP\ICONS
UI_ICON_EXTENSION gif
5) Make your JAR file with following command on DOS where JAR file exist.
Type the Command on C:\DevSuiteHome_1\jdk\bin > jar -cvf final.jar X:\ERP\ICONS\*.gif
copy this jar (final.jar) to........
C:\DevSuiteHome_1\forms\java
Developer Suit uses ICO (Icon Files) at design time but GIF files at runtime. To use GIF files at design and runtime we need to add parameter in windows registry i.e. UI_ICON_EXTENSION
Hope to solve your problem.
If u get something extra on your way post a reply back
[Updated on: Mon, 21 April 2008 08:34] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Problems to display Icons [message #477093 is a reply to message #477029] |
Tue, 28 September 2010 08:39   |
Kevin58
Messages: 79 Registered: January 2009
|
Member |
|
|
AAKHEEB wrote on Tue, 28 September 2010 01:15i also tried all posible entry's as follows
archive_jini=frmall_jinit.jar,c:\sshouse10g\icons.jar,/forms/icons.jar,/icons.jar,C:\DevSuiteHome_2\forms\java\icons.jar
archive=frmall.jar,c:\sshouse10g\icons.jar,/forms/icons.jar,/icons.jar,C:\DevSuiteHome_2\forms\java\icons.jar
but still the smme
If you have edited the orion-web.xml file to show something like this:
<virtual-directory virtual-path="/icons" real-path="C:\icons" />
Then one does not use the physical path in the formsweb.cfg file to locate a "virtual" directory. The idea is to be secure and promote application independence. At least that's my take.
So assuming that your orion file was done like that then
change the archive entry of the formsweb.cfg file to this:
archive_jini=frmall_jinit.jar,lablediconbutton.jar,/forms/icons/final.jar
archive=frmall.jar,lablediconbutton.jar,/forms/icons/final.jar
There should not be any drive letters there. It is a relative path from "/forms".
[Updated on: Tue, 28 September 2010 08:44] Report message to a moderator
|
|
|
Re: Problems to display Icons [message #616359 is a reply to message #477093] |
Mon, 16 June 2014 02:54  |
kilimanjaro
Messages: 151 Registered: May 2009 Location: Tanzania
|
Senior Member |
|
|
Hello friends
Please I'm having the same problem of not getting the toolbar om my forms.I migrated from form 6i to 10G developer 10.1.2.0.2.I'm using 10G database window 7 ultimate 32 bits.
If I can get step by step configuration please.
Thank you.
|
|
|
Goto Forum:
Current Time: Mon Apr 28 06:41:09 CDT 2025
|