PDA

View Full Version : Forms6i and search path for icons


Rolf Unger
03-17-2004, 12:31 PM
Hi,

just trying to migrate from Forms5.0 to Forms6i ... [some curses] ...

Why is it such a pain to get the paths straight?
The installer doesn't set any "Forms60_path" in the registry (okay, guess
this is the right place to mention that I'm running on win2k).
Neither the topics "Forms_path" nor "search_path" are listed as index
in the online help.

I knew from the previous version, that I need to set FORMS50_PATH, so I can
only guess that it is FORMS60 this time.
Somewhere in the docu I found a passus saying that the forms builder (or
the runtime) would first search in the current working directory and then
in the directories defined in FORMS60_PATH and ORACLE_PATH.
Seems that this applies only to library modules.

For Forms50 I had to set a TK25_ICON variable in the registry or in the
environment. As I see a TK60 my guess is to add a TK60_ICON with the needed
paths. No success! Neither in the Builder nor in the runtime I can see my
icons.

I browse through the manual again and find a note that the bitmapped icons
on MS Windows are searched in UI60_ICON. Well, probably nobody understood
why the previous variable was labeled "TK25 ...", it did not seem to have
any relation to the Tcl/Tk toolkit.

But it's still not working! No icons in the menubar, and no icons on my
user defined push buttons in the forms itself. Again not in the builder
and not in the runtime!

Why do they have an extra paragraph on new features and upgrading to
Forms 6i where they proudly state that everyone can use PL/SQL 8 now?
I did this in the previous version already, of course I had to run it
on the V.8 database in a stored package. But Oracle seems to be unable
to provide a upgrade guide, that reaches a minimum of usability!

I'm probably not the first one to bump into this upgrading problems.
Is there any FAQ or something similar? I guess not from Oracle, but
maybe from someone independent?

Thanks, Rolf.

Smiley
03-17-2004, 03:43 PM
Rolf Unger wrote: Hi, just trying to migrate from Forms5.0 to Forms6i ... [some curses] ... Why is it such a pain to get the paths straight? The installer doesn't set any "Forms60_path" in the registry (okay, guess this is the right place to mention that I'm running on win2k). Neither the topics "Forms_path" nor "search_path" are listed as index in the online help. I knew from the previous version, that I need to set FORMS50_PATH, so I can only guess that it is FORMS60 this time. Somewhere in the docu I found a passus saying that the forms builder (or the runtime) would first search in the current working directory and then in the directories defined in FORMS60_PATH and ORACLE_PATH. Seems that this applies only to library modules. For Forms50 I had to set a TK25_ICON variable in the registry or in the environment. As I see a TK60 my guess is to add a TK60_ICON with the needed paths. No success! Neither in the Builder nor in the runtime I can see my icons. I browse through the manual again and find a note that the bitmapped icons on MS Windows are searched in UI60_ICON. Well, probably nobody understood why the previous variable was labeled "TK25 ...", it did not seem to have any relation to the Tcl/Tk toolkit. But it's still not working! No icons in the menubar, and no icons on my user defined push buttons in the forms itself. Again not in the builder and not in the runtime! Why do they have an extra paragraph on new features and upgrading to Forms 6i where they proudly state that everyone can use PL/SQL 8 now? I did this in the previous version already, of course I had to run it on the V.8 database in a stored package. But Oracle seems to be unable to provide a upgrade guide, that reaches a minimum of usability! I'm probably not the first one to bump into this upgrading problems. Is there any FAQ or something similar? I guess not from Oracle, but maybe from someone independent? Thanks, Rolf.

Try UI_ICON

Ron

Rolf Unger
03-18-2004, 11:14 AM
Smiley <anoniemke888getridofthis@hotmail.com> wrote in message news:<4058e29d$0$9516$3a628fcd@reader1.nntp.hccnet.nl>... Rolf Unger wrote: Hi, just trying to migrate from Forms5.0 to Forms6i ... [some curses] ... Why is it such a pain to get the paths straight? The installer doesn't set any "Forms60_path" in the registry (okay, guess this is the right place to mention that I'm running on win2k). Neither the topics "Forms_path" nor "search_path" are listed as index in the online help. [ ... ] I'm probably not the first one to bump into this upgrading problems. Is there any FAQ or something similar? I guess not from Oracle, but maybe from someone independent? Thanks, Rolf. Try UI_ICON Ron

Yes, thanks. UI_ICON is the right environment variable.

I looked under "Icons, ICO files" in the online help, because I
thought this is the best matching topic for my problem.
And yes, I found there near by the end:

Note: On Microsoft Windows, the lookup path for icon files is defined
by the UI60_ICON environment variable located in the ORACLE.INI file,
or in the Microsoft Windows 32-bit registry. When you enter the name
of the icon file in the Icon Filename property, do not include the path
or .ICO file extension.

... and thought this would apply to my problem.

After your answer, i browsed through the help again, and found one topic
that was directly entitled with UI_ICON. (Yes, it contained the correct
description, that UI_ICON needs to be set as search path for icons).

Then I tried my approach from yesterday once again and figured out, that
the link in the help index is not working correctly.
If I click on "Icons, ICO files" I end up in a help topic with the title
"Associating an icon with a window".

This is another subtopic under the parent topic "Icons". Of course I
optimistically assumed that I read something on icons, when I click on
"Icons, Ico files".

Anyway, lessons learned!

Thanks again, Rolf.


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service