how can i execute a channel tv in a VFP form?

luciliacoelho
luciliacoelho used Ask the Experts™
on
how can i execute a channel tv in a VFP form that runs other commands?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
ramromconsultant

Commented:
Perhaps someone else knows what you want. I don't. Please be more explicit.

Author

Commented:
i want to execute a VFP form with a window that runs a TV program. It´s possible?
You may directly linked to a Television (I assume cable)? Or the show a pre-recorded tv channel (like showing a DVD)?
If it is the first one, your computer has to be equiped with an NTSC decoder (Or PAL if your other parts of the world). But doable.
http://tvchannels2pc.com/
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

Olaf DoschkeSoftware Developer

Commented:
What's your goal? Wrinting a video player? Take a look into vfp samples, there is already such a thing.

Most TV USB sticks come with a software to watch tv with them and some of them integrate with Windows Media Center. You can include any windows window into the vfp _screen or a vfp form via Windows API SetParent (or was it SetParent Window). If this is about watching tv while you're programming for the convenience of still having the vfp IDE maximised, that might be the easiest solution. If it's about writing your own video player it's a totally different task.

Bye, Olaf.

Author

Commented:
thanks for your sugestions. The situation is in a medical clinic that the monitor has a VFP form that calls the turn of the costumers and when they wait ther turn they watches a Tv program in the same monitor
Software Developer
Commented:
Well, then it would all depend on the hardware used, the tv card or USB stick or whatever and if it supports to embed a video channel into another application than the software coming with it at all. Perhaps you'd end up with my suggestion of using SetParent. The TV Software coming with the hardware would be used to show a tv channel and that whole application window may be embedded as a child window into your app.

Here's an example how to embed the Windows calculator calc.exe into the VFP main screen:
http://www.news2news.com/vfp/index.php?example=245

That can be applied to any running application including the tv software.

There is no general way though, to embed just the video portion into an own application window. This is all very vendor specific. If it integrates into Windows Media Center you might have a better chance of OLE automating the Media Center.

Bye, Olaf.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial