play a film

play a film

Post by Leem » Thu, 19 Aug 2004 00:58:41


Hi bijan:

There are some examples on UT that show how to play a movie or a video in a
VFP form. Go to www.universalthread.com and click on VFP Zone and choose
Downloads. In the Summary field, type "movie" or "video."

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
http://www.yqcomputer.com/
Purchase VFP8 here:
http://www.yqcomputer.com/

Keep an eye on the product lifecycle for Visual FoxPro here:
http://www.yqcomputer.com/ ;[ln];lifeprodv
- VFP5 Mainstream Support retires June 30th, 2003
- VFP6 Mainstream Support retires Sep. 30th, 2003
 
 
 

play a film

Post by Sietse Wij » Thu, 19 Aug 2004 01:14:01

Hi Bijan,
Take a look at the 'Play multimedia files using MCI commands' sample in the
VFP solutions

Another possibility is to use an ActiveX control that can play movie-files.
the ActiveMovieControl ActiveX or the Microsoft NetShow Player ActiveX or
the Windows Media Player ActiveX controls are probably already installed on
your system.

HTH,
Sietse Wijnker



rectangel

 
 
 

play a film

Post by YmlqYW » Thu, 19 Aug 2004 16:33:01

thank you
but i want use windows medial player in a windows in my form without title
and menu bar and how i can conect my file to windows medial player to show my
film
i need code
thank you
 
 
 

play a film

Post by Sietse Wij » Thu, 19 Aug 2004 18:52:30

Hi,
To use Media Player in a form without title and menu bar, use the Windows
Media Player ActiveX control by adding an olecontrol to your form and select
'Windows Media Player' form the popup-form that's shown.
Take some time to set some properties and use the Open(filename) method to
load a file for playback, and start playing using the Play() method.
You can use the miscelanious Show.... properties to alter the visibility of
some controls.

If you want me to code something for you, i'm glad to send you my hourly
fees. ;-)
AFAIK, this newsgroup is still for helping people out in some problems they
are running into, not doing the work they are paid for.

Sietse Wijnker
 
 
 

play a film

Post by Sietse Wij » Fri, 20 Aug 2004 00:43:00

Hi Bijan
Instead of
thisform.olecontrol1.Command="play"
use
this.play()

You're already in the scope of the olecontrol so there's no need to use
thisform.olecontrol1

HTH,
Sietse Wijnker



I
code

Windows
select
to
of
they