Home » Developer & Programmer » Forms » 10g Forms Menu Error
10g Forms Menu Error [message #162154] Thu, 09 March 2006 00:26 Go to next message
nirmalnarayan
Messages: 261
Registered: April 2005
Location: India
Senior Member
After attaching icon filename to menu items i am getting the following error while running the forms. See screenshot below. When the icon file name in the corresponding menu items are removed this error is not happening. I am working on Forms 10g

/forum/fa/872/0/


Any one have idea why this happens ?

Thanks and Regards,

Nirmal
Re: 10g Forms Menu Error [message #162170 is a reply to message #162154] Thu, 09 March 2006 00:52 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
What type of icon graphics are you using? They have to be 'bmp' or 'gif'? Have you defined the 'TK_ICON' path in the registry?

David
Re: 10g Forms Menu Error [message #162176 is a reply to message #162170] Thu, 09 March 2006 01:09 Go to previous messageGo to next message
nirmalnarayan
Messages: 261
Registered: April 2005
Location: India
Senior Member
Thanks for your reply.

I am using 'gif' type, I have no idea how to define the TK_ICON path in registry, how will i do it ?

Can you please advice?

Nirmal

Re: 10g Forms Menu Error [message #162345 is a reply to message #162176] Thu, 09 March 2006 17:48 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
For documentation on deploying icons, go to http://www.oracle.com/forms/10g/help/ then 'Deploying Forms on the Web', then 'Deploying Icons', where it refers to 'UI_ICON' (sorry, my bad memory for saying 'TK_ICON').
Quote:

Deploying Icons
To deploy Forms applications on the web that contain icons in buttons and in tree control items, you'll first need to convert the icon files into GIF (GIF 89a ) or JPG format.

Unlike the client/server model of previous versions of Forms, in Oracle Forms there is no UI_ICON variable to locate icons used in Forms applications. Instead, image icons in Oracle Application Server Forms Services are referenced by a URL that is constructed internally based on three things: the "imagebase" parameter in the formsweb.cfg configuration file, the icon name in the items property palette, and the default icon path setting in the Forms Registry.dat properties file.

At runtime, icons in your Forms applications are referenced through a Java Applet.

More detailed information, such as testing images with your Forms applications and deployment examples can be found in the Oracle Application Server Forms Services Deployment Guide, as well as the white paper on OTN, Oracle9iAS Forms Services: HowTo Deploy Icons, available at http://otn.oracle.com/products/forms.
I find this text a bit contradictory. You need the UI_ICON path so that the Form Builder and Developer Server knows where to find the 'gif's on your PC (or network). The Application Server uses other files.

Look at the following links:
Installing 9i and 10g
Installation Cookbooks: Deploying Forms on the Web
http://databasejournal.com/features/oracle/article.php/3405951
Installation Cookbooks: Deploying Reports on the Web
http://databasejournal.com/features/oracle/article.php/3408861
Installation Cookbook: Installing Oracle Application Server 10g (9.0.4)Forms and Reports Services
http://www.databasejournal.com/features/oracle/article.php/3322591

David
Previous Topic: Form 6i, Windows directories exploration
Next Topic: 10g Forms Deployment in AS Issue
Goto Forum:
  


Current Time: Fri Sep 20 07:41:26 CDT 2024