FRM-40734 : INTERNAL ERROR : PL/SQL ERROR OCCURRED [message #439255] |
Fri, 15 January 2010 07:10 |
allianz2010
Messages: 101 Registered: October 2009 Location: Pakistan
|
Senior Member |
|
|
i want to add icon in my form at run time
and i m use PRE-FORM trigger
and i use this line for add icon
Win_Api_Session.Change_MDI_Icon(Win_Api_Utility.Get_Active_Window, '.\Icons\Company.ico', Icon_Id);
and these lines
MDI_ICO := WIN_API_UTILITY.GET_ACTIVE_WINDOW;
WIN_API_SESSION.CHANGE_MDI_ICON(MDI_ICO, '.\Icons\Company.ico', 0);
i also attach the "d2kwutil.pll" library.
but when i run form this error comes and my forms will be closed.
FRM-40734 : INTERNAL ERROR : PL/SQL ERROR OCCURRED
and my whole Code of PRE-FORM is this...
DECLARE
MDI_ICO PLS_INTEGER;
ONAME VARCHAR2(200);
Icon_Id PLS_INTEGER:=0;
BEGIN
SELECT O.ORG_NAME INTO ONAME
FROM ORGANIZATION.ORGANIZATION O
WHERE O.ORG_CODE=2;
--Win_Api_Session.Change_MDI_Icon(Win_Api_Utility.Get_Active_Window, '.\Icons\Company.ico', Icon_Id);
MDI_ICO := WIN_API_UTILITY.GET_ACTIVE_WINDOW;
WIN_API_SESSION.CHANGE_MDI_ICON(MDI_ICO, '.\Icons\Company.ico', 0);
SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WINDOW_STATE,MAXIMIZE);
SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,ONAME);
SET_WINDOW_PROPERTY('WINDOW1',TITLE,'Unit of Measurement....!');
A_CNTR_FRM('WINDOW1');
END;
|
|
|
|
|