Dear all,
I am trying to run a flash object (.swf) file in my forms.
My version of oracle forms 6i is Forms [32 Bit] Version 6.0.8.11.3 (Production)
I created a new forms
then placed an active X control
Then by selecting its properties i select ShockwaveFlash.ShockwaveFlash.10.
After this I select this control and right click and chose the same shockwave flash
After this I chose full methods and properties for shockwaveFlash in program menu-->import ole library interface
after doing all this i wrote the code in "when-new-form-instance"
/***********************************************/
DECLARE
oleitm1 OLEOBJ;
BEGIN
GO_BLOCK('DUMMY');
SYNCHRONIZE;
oleitm1 := :item('DUMMY.OLEITM').INTERFACE;
ShockwaveFlash_IShockwa_0.Movie(oleitm1,'C:\1.swf');--it can be dynamic.
END;
/**************************************************************/
I compiled it by Ctrl+shift+K
no error.....
But when i run this program it gives the following error
FRM-41344: OLE object not defiend for OLEITM in the current record.
I have tried to resolve this error by searching on Google, but found no proper solution.
I might me missing some steps.
Kindly suggest and guide.
Thanks.....