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: 548
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: 548
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: 548
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: 168
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: 345
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 message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT 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
Previous Topic: How to use Cursor Pointing
Next Topic: Forms Runtime - Cannot execute
Goto Forum:
  


Current Time: Fri Dec 02 23:18:44 CST 2016

Total time taken to generate the page: 0.06725 seconds