Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Running flash objects in forms 6i

KritikaSep 20 2013 — edited Oct 19 2013


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.....

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 16 2013
Added on Sep 20 2013
2 comments
607 views