Home » Developer & Programmer » Forms » How to change Form 6i default icon to a company logo
How to change Form 6i default icon to a company logo [message #303327] Thu, 28 February 2008 22:18 Go to next message
danish_fsd@yahoo.com
Messages: 38
Registered: February 2008
Location: Pakistan
Member
Hi All,

I want to change Form 6i default icon (Not Window Icon) on top left corner. Can any one help me regarding this.

Thanking in Advance.

Regards
Danish
Re: How to change Form 6i default icon to a company logo [message #303331 is a reply to message #303327] Thu, 28 February 2008 22:50 Go to previous messageGo to next message
azamkhan
Messages: 556
Registered: August 2005
Senior Member
Dear Friend,

You have to your the following API:

Win_Api_Session.Change_MDI_Icon(Win_Api_Utility.Get_Active_Window, '[you_icon_filename_with_full_path, Icon_Id)

The API return an PLS_INTEGER value so just store it in a PLS_INTEGER datatype variable. Ok use following example:

--
-- Changing the Windows icon
--
Declare
Icon_Id PLS_INTEGER:=0;
Begin

Win_Api_Session.Change_MDI_Icon(Win_Api_Utility.Get_Active_Window, :Parameter.p_server_path||'\ACCOUNTING_SYSTEM\Icons\LOGO.ico', Icon_Id);

End;

Regards,
Azam Khan
Re: How to change Form 6i default icon to a company logo [message #303362 is a reply to message #303331] Fri, 29 February 2008 00:43 Go to previous messageGo to next message
danish_fsd@yahoo.com
Messages: 38
Registered: February 2008
Location: Pakistan
Member
Assalam o Alikum

Dear first of all thanks for your so quick replay. I write following code in "New_Form_Instance" Trigger for testing purpose.

Declare
Icon_Id PLS_INTEGER:=0;
Begin
Win_Api_Session.Change_MDI_Icon(Win_Api_Utility.Get_Active_Window, 'F:\oracle\Forms\TOOLS\DBTAB60\SQL_PROD.ICO', Icon_Id);
End;

But it gives error
Win_Api_Utility.Get_Active_Window must be declared.

Kindly can you guide me whether I m right or wrong. and what is the correct procedure to do this.

Regards

Danish
Re: How to change Form 6i default icon to a company logo [message #303404 is a reply to message #303362] Fri, 29 February 2008 03:40 Go to previous messageGo to next message
azamkhan
Messages: 556
Registered: August 2005
Senior Member
Dear Friend,

Sorry for that... But I forgotten to tell you that you have to use 2 libraries of D2K60.

I am sure that you can easily find them in this form.

Regards,
Azam Khan
Re: How to change Form 6i default icon to a company logo [message #303592 is a reply to message #303404] Fri, 29 February 2008 23:56 Go to previous messageGo to next message
danish_fsd@yahoo.com
Messages: 38
Registered: February 2008
Location: Pakistan
Member

Dear Friend,

Sorry to disturb you again, but i m unable to find "D2K60" or its libraries in folder where Form builder is installed. I m using Developer 6i.

Please can you guide me in detail what i should do.

Regards.

Danish
Re: How to change Form 6i default icon to a company logo [message #303595 is a reply to message #303592] Sat, 01 March 2008 00:00 Go to previous messageGo to next message
azamkhan
Messages: 556
Registered: August 2005
Senior Member
Danish you will not find these libraries in your FORMS60 directory. You have to download it. Ok go to Oracle.com \ downloads. And find D2k Utility from there.

When you down load it you will find 3 files. 1 pll and 1 dll.

Regards,
Azam Khan
Re: How to change Form 6i default icon to a company logo [message #304053 is a reply to message #303595] Mon, 03 March 2008 22:14 Go to previous messageGo to next message
danish_fsd@yahoo.com
Messages: 38
Registered: February 2008
Location: Pakistan
Member
Dear Azam Khan.

I m very thankful for your great guidance. Now i m able to change MDI window icon.

I did following steps which i write here for further guidance of other members who have this problem.

1. Write the above code in New Form Instance trigger.
2. Download "d2kwutil_6_0_6_0" utility from Oracle.Com
3. Attach library "D2KWUTIL.pll" to the form.
4. Place "d2kwut60.dll" at Forms Bin Folder.
5. Run the form.

Again Thanks.
Remember me in your prayers.

Regards
Danish
Re: How to change Form 6i default icon to a company logo [message #396034 is a reply to message #304053] Fri, 03 April 2009 10:15 Go to previous messageGo to next message
irfankundi786@yahoo.com
Messages: 269
Registered: February 2009
Location: pakistan
Senior Member

From where i can down load these utility.
I can not find these on oracle site.
If any one can mail me in zip form ,i will be thankfull to them.
please help me.
Re: How to change Form 6i default icon to a company logo [message #396051 is a reply to message #396034] Fri, 03 April 2009 11:43 Go to previous messageGo to next message
irfankundi786@yahoo.com
Messages: 269
Registered: February 2009
Location: pakistan
Senior Member

I want to move file from one folder to another from form 10g .
In 6i i will do it easily by putting .dll in bin and .pll in form folder but in 10g where i have to put .dll and .pll.
please help me.
Re: How to change Form 6i default icon to a company logo [message #396105 is a reply to message #396034] Fri, 03 April 2009 23:59 Go to previous messageGo to next message
danish_fsd@yahoo.com
Messages: 38
Registered: February 2008
Location: Pakistan
Member
Hi,

You can download it from here.

http://www.oracle.com/technology/software/products/forms/files/d2kwutil/d2kwutil_6_0_6_0.zip

Regards.

Danish
Re: How to change Form 6i default icon to a company logo [message #396146 is a reply to message #303327] Sat, 04 April 2009 05:31 Go to previous messageGo to next message
itech
Messages: 173
Registered: May 2008
Location: Fsd, Pakistan
Senior Member

if u are using SDI interface window then u can simply change the icon from the property (icon filename) of your window.
Re: How to change Form 6i default icon to a company logo [message #402871 is a reply to message #303327] Tue, 12 May 2009 22:23 Go to previous messageGo to next message
rzkhan
Messages: 369
Registered: March 2005
Senior Member
Dear Azam Khan / All others

I found a windows api (in d2kwutil) that would allow me to send keystrokes to a window, but I get an error saying
that I must declare it. Here what I type into a trigger:

Win_Api_Shell.SendKeys(
GET_WINDOW_PROPERTY(forms_mdi_window, window_handle ), '{End}', False);

It tells me that
[CODE]
Win_Api_Shell.SendKeys must be declared. [CODE]

Any help would be appreciated.


Thanks
Riaz
Re: How to change Form 6i default icon to a company logo [message #403194 is a reply to message #402871] Thu, 14 May 2009 02:48 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You are discussing 'win-api_shell'sendkeys' in another thread. Wait until we get that one fixed before raising this more complex version.

David
Re: How to change Form 6i default icon to a company logo [message #676927 is a reply to message #304053] Sun, 28 July 2019 15:56 Go to previous messageGo to next message
GhulamYassen
Messages: 5
Registered: July 2008
Location: Pakistan
Junior Member
Dear can you send me library file
Thanks
My email:
ghulamyassen@gmail.com
Re: How to change Form 6i default icon to a company logo [message #676928 is a reply to message #676927] Mon, 29 July 2019 01:44 Go to previous messageGo to next message
itech
Messages: 173
Registered: May 2008
Location: Fsd, Pakistan
Senior Member

AOA Ghulam Yaseen.
I have sent you files in email
Re: How to change Form 6i default icon to a company logo [message #676967 is a reply to message #676928] Fri, 02 August 2019 10:45 Go to previous messageGo to next message
GhulamYassen
Messages: 5
Registered: July 2008
Location: Pakistan
Junior Member
Dear sir
Thanks you so much
Re: How to change Form 6i default icon to a company logo [message #677325 is a reply to message #676928] Thu, 12 September 2019 05:25 Go to previous messageGo to next message
Akhared
Messages: 2
Registered: September 2019
Junior Member
Would you please send me the library file in mail as well.

akhared@hotmail.com

Thanks and Appreciated.
Re: How to change Form 6i default icon to a company logo [message #677350 is a reply to message #677325] Fri, 13 September 2019 01:12 Go to previous messageGo to next message
itech
Messages: 173
Registered: May 2008
Location: Fsd, Pakistan
Senior Member

i have send you in email pls check.
Re: How to change Form 6i default icon to a company logo [message #677352 is a reply to message #677350] Fri, 13 September 2019 01:26 Go to previous messageGo to next message
Michel Cadot
Messages: 66715
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

Can't you post it here?

Re: How to change Form 6i default icon to a company logo [message #677357 is a reply to message #677352] Fri, 13 September 2019 04:43 Go to previous messageGo to next message
itech
Messages: 173
Registered: May 2008
Location: Fsd, Pakistan
Senior Member

Hi michel.

i tried to attach but the allowed extensions are only : txt sql log lst csv pls plb gif jpg png pdf fmb fmt fmx ora ctl dat bad dsc pks pkb pck rdf doc

it does not allow pll files and dll files (d2k has both pll and dll).

2ndly, i have a full zip of d2k that includes readme and demo form (fmb) that demonstrate each function of d2kutil library.
Re: How to change Form 6i default icon to a company logo [message #677358 is a reply to message #677357] Fri, 13 September 2019 05:21 Go to previous messageGo to next message
Michel Cadot
Messages: 66715
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

I think you can upload zip file.
If you can't then just rename it with an allowed extension and then tell, in your post, how one has to rename it to have the valid file name.

Re: How to change Form 6i default icon to a company logo [message #677359 is a reply to message #303327] Fri, 13 September 2019 05:35 Go to previous messageGo to next message
itech
Messages: 173
Registered: May 2008
Location: Fsd, Pakistan
Senior Member

Hi,
Anyone can download the d2k library from here. just remove the last extension .pkb and unzip the folder.

thank you.
Re: How to change Form 6i default icon to a company logo [message #677360 is a reply to message #677359] Fri, 13 September 2019 05:37 Go to previous messageGo to next message
Michel Cadot
Messages: 66715
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

Thanks.

Re: How to change Form 6i default icon to a company logo [message #677365 is a reply to message #677350] Sat, 14 September 2019 02:57 Go to previous message
Akhared
Messages: 2
Registered: September 2019
Junior Member
Thank you so much
Previous Topic: navigable current Record
Next Topic: frm-40734 internal pl/sql error
Goto Forum:
  


Current Time: Sun Dec 08 09:57:08 CST 2019