To discuss Oracle Forms & Reports related technical issues.
-
mkhalil
- Posts: 6
- Joined: Tue Sep 19, 2006 3:22 pm
- Location: Pakistan
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.
Users browsing this forum: No registered users and 1 guest