Home » Developer & Programmer » Forms » Problems to display Icons (Oracle 10g, Windows XP)
Problems to display Icons [message #314692] Thu, 17 April 2008 08:49 Go to next message
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 Go to previous messageGo to next message
Manoj.Gupta.91
Messages: 206
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 #315900 is a reply to message #314692] Wed, 23 April 2008 02:54 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have you solved your problem?

David
Re: Problems to display Icons [message #391834 is a reply to message #315433] Fri, 13 March 2009 15:45 Go to previous messageGo to next message
hboubendir
Messages: 3
Registered: March 2009
Location: montreal,canada
Junior Member

hello
can any people help me to configuring foroms to use icons in the forms builder 10g

i following all instruction to configure foms as

1)create directory for icons ex:d:\dochichem\icons
2)create final.jar file contient all icons files *.gif
> jar -cvf final.jar d:\dochichem\icons\*.gif
as
d:\final_jar.jpg


3)copy final.jar to d:\DevsuiteHome_1\forms\java directory

4)configure formsweb.cfg

5)configure registry.dat

6)configure orion-web.xml

7)Windows registry entry
UI_ICON=d:\dochichem\icons

Cool i use *.ico in forms builder
but when i run a form in the web the icon that not display in the form
help me please.
Re: Problems to display Icons [message #394701 is a reply to message #391834] Sun, 29 March 2009 19:24 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have you solved your problem?

David
Re: Problems to display Icons [message #401068 is a reply to message #391834] Fri, 01 May 2009 07:42 Go to previous messageGo to next message
Kevin58
Messages: 79
Registered: January 2009
Member
I have found that you need to prefix your jar with:
/forms/icons/final.jar

So in the formsweb.cfg file around line 118
you had:
archive_jini=frmall_jinit.jar,lablediconbutton.jar,final.jar

Change it to:
archive_jini=frmall_jinit.jar,lablediconbutton.jar,/forms/icons/final.jar


That solved the icons issue at run time for me. Smile
Thanks,


Kevin
Re: Problems to display Icons [message #401893 is a reply to message #401068] Wed, 06 May 2009 19:51 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
This was probably due to '/forms/icons' being in neither the 'PATH' nor 'FORMS_PATH' variables.

David
Re: Problems to display Icons [message #402045 is a reply to message #314692] Thu, 07 May 2009 07:16 Go to previous messageGo to next message
Kevin58
Messages: 79
Registered: January 2009
Member
Hi Dave,

That could be something to think about.

I was using the method of deploying icons in a virtual directory.
It is one way to keep one application's icons separate from another.

The document I was looking at is named "Oracle9iAS Forms Services How To Deploy Icons". It was published in June 2003.
Thanks,


Kevin
Re: Problems to display Icons with Forms Services 10.1.2.3 [message #439114 is a reply to message #315900] Thu, 14 January 2010 06:12 Go to previous messageGo to next message
FionaM
Messages: 1
Registered: January 2010
Junior Member
I know this topic has been covered many times however I still haven't found a solution.

We are moving from client server forms 6i to web forms 10g. Software currently being used: Oracle Forms and Reports Services 10.1.3.1 and Forms and Reports Developer 10.1.2
The forms have been converted and are running via the web browser, but they don't display the toolbar icons. In order to try and correct this I have done the following, but with no success.

All my forms; librarys; menus; icons; gifs; and jar file are in d:\applications\AFT\icons.

1) Edited this file....
D:\oracle\FRHome_1\forms\java\oracle\forms\registry\registry.dat,

default.icons.iconpath=icons/
default.icons.iconextension=gif

2) Edited the file.....
D:\oracle\FRHome_1\forms\j2ee\orion-web.xml .

<virtual-directory virtual-path="/icons" real-path="D:\applications\AFT\icons" />

3) Edited the file....
D:\oracle\FRHome_1\forms\server\default.env.

FORMS_PATH=D:\applications\AFT;D:\applications\AFT\icons

4) Converted my *.ico files to *.gif (GIF89a) using free software off the internet, created a jar file using D:\oracle\FRHome_1\jdk\bin\jar.exe making sure it didn't store any pathnames.
e.g.
D:\applications\AFT\icons >D:\oracle\FRHome_1\jdk\bin\jar -cvf icons.jar *.gif
copied the jar (icons.jar) to D:\applications\AFT\icons

5) Edited D:\oracle\FRHome_1\forms\server\formsweb.cfg added path to archive_jini
[AFT]
form=AFTSmain.fmx
codebase=/forms/java
archive_jini=frmall_jinit.jar,d:/applications/AFT/icons/icons.jar
imageBase=codebase

6) Edited D:\oracle\FRHome_1\forms\server\forms.conf and added
# Virtual path for forms image path (used to display gifs)
AliasMatch ^/forms/icons/(..*) "D:\applications\AFT\icons/$1"

I've downloaded oracles white paper on oracle9ias forms services how to deploy icons and been through that. But I still cannot get the gifs to be displayed. - and I've checked that the icon filenames are the correct in the form. - and I've checked the virtual path and that works fine.
Can you tell me what I'm doing wrong please?
Re: Problems to display Icons with Forms Services 10.1.2.3 [message #444610 is a reply to message #439114] Tue, 23 February 2010 00:16 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have a look at the last entries of http://www.orafaq.com/forum/t/75610/67467/

David
Re: Problems to display Icons [message #476888 is a reply to message #314692] Mon, 27 September 2010 04:09 Go to previous messageGo to next message
AAKHEEB
Messages: 9
Registered: June 2004
Junior Member
hi sir,

i am facing problem to display icons while migrating applicatoin from 6i to 10g.

i search all the keys in the site and applied but no result.

Please note that all my application file as well as iconic file
in one folder c:\sshouse10g

what I did on Developer Suit (10g) is

1) Edit this file....

C:\DevSuiteHome_2\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_2\j2ee\DevSuite\application-deployments\forms\formsweb\orion-web.xml .

<virtual-directory virtual-path="/ICONS" real-path="C:\SSHOUSE10G" />

3) Edit the file....

C:\DevSuiteHome_2\forms\server\default.env.

FORMS_PATH=c:\sshouse10g;C:\DevSuiteHome_2\forms
and save it

4) Edit my registry
FORMS_PATH c:\sshouse10g
UI_ICON C:\sshouse10g
UI_ICON_EXTENSION gif

5) created icons.jar file
from C:\> jar -cvf icons.jar c:\sshouse10g\*.gif
copied this jar (icons.jar) to........
C:\DevSuiteHome_2\forms\java folder

6)Edit the file....
C:\DevSuiteHome_2\forms\server\formsweb.cfg
archive_jini=frmall_jinit.jar,frmwebutil.jar,C:\SSHOUSE10G\icons.jar
also tried
archive_jini=frmall_jinit.jar,frmwebutil.jar,icons.jar

still not working ...
Can anybody please help me. ..

  • Attachment: formsweb.txt
    (Size: 9.27KB, Downloaded 215 times)
Re: Problems to display Icons [message #476911 is a reply to message #476888] Mon, 27 September 2010 06:11 Go to previous messageGo to next message
samssams2006
Messages: 28
Registered: July 2010
Junior Member
Quote:


Have you solved your problem?

David



??

Mostly I've seen this answar of questions by Mr.David.

Re: Problems to display Icons [message #476916 is a reply to message #476911] Mon, 27 September 2010 06:19 Go to previous messageGo to next message
Littlefoot
Messages: 19885
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
David doesn't visit OraFAQ daily, so - before he makes an effort of answering the question - he checks whether the problem is already solved (so that he doesn't have to spend his precious time answering solved problems).
Re: Problems to display Icons [message #476929 is a reply to message #476916] Mon, 27 September 2010 06:40 Go to previous messageGo to next message
AAKHEEB
Messages: 9
Registered: June 2004
Junior Member
no sir,

the problem not yet solved.

also i tried using default icons comming along with installation
by extracting frmall_jinit file but still the same.


Re: Problems to display Icons [message #477000 is a reply to message #476929] Mon, 27 September 2010 14:55 Go to previous messageGo to next message
Kevin58
Messages: 79
Registered: January 2009
Member
AAKHEEB wrote on Mon, 27 September 2010 06:40
no sir,

the problem not yet solved.

also i tried using default icons comming along with installation
by extracting frmall_jinit file but still the same.




I've done one additional thing. Edit the formsweb.cfg file
and add your virtual location to the end of the "archive" line.
For example:

archive=frmall.jar,jcalendar.jar,JCalendarJinit.jar,frmwebutil.jar,jacob.jar,/forms/icons/icons.jar


You will need to tweak your virtual directory name to match your definition. This should solve the issue.
Re: Problems to display Icons [message #477029 is a reply to message #314692] Tue, 28 September 2010 01:15 Go to previous messageGo to next message
AAKHEEB
Messages: 9
Registered: June 2004
Junior Member
i 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

Re: Problems to display Icons [message #477093 is a reply to message #477029] Tue, 28 September 2010 08:39 Go to previous messageGo to next message
Kevin58
Messages: 79
Registered: January 2009
Member
AAKHEEB wrote on Tue, 28 September 2010 01:15
i 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 Go to previous message
milikiel
Messages: 106
Registered: May 2009
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.
Previous Topic: insert image into database filed by Scaner/camera in form 6i
Next Topic: ole2.set_property
Goto Forum:
  


Current Time: Thu Dec 18 21:37:12 CST 2014

Total time taken to generate the page: 0.08470 seconds