Calling Window's Media Player in Form

To discuss Oracle Forms & Reports related technical issues.
Post Reply
mkhalil
Posts: 6
Joined: Tue Sep 19, 2006 3:22 pm
Location: Pakistan

Calling Window's Media Player in Form

Post by mkhalil »

How can we call Window's Media Player in a form by using OCX/Active X, Please help me.
fahedakhter
Posts: 7
Joined: Tue Apr 18, 2006 4:58 am
Location: Pakistan

Post by fahedakhter »

1) Import the Media Player Library Interface.
2) And Write this code on any trigger

Declare
Pla Oleobj;
Begin
Pla := :Item('Media').Interface;
Mplayer.FileName(Pla,'FileName');
Mplayer.Play(Pla);
End;

Regards
Fahed
mkhalil
Posts: 6
Joined: Tue Sep 19, 2006 3:22 pm
Location: Pakistan

Post by mkhalil »

Thanks a lot Fahed. I will try it now and Inshallah it will work well.
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests