Capture a snapshot from Windows Media Control?

I am playing a video file progrmatically from a mpg file. Can we capture a snapshot when the user clicks a button? Is it possbile to do this using Windows Media Control or do we need to buy a third party control?

Please advise!!

Thanks,

Naren

[267 byte] By [NarenRanganathan] at [2007-12-22]
# 1
Starting from Windows Media Player 9, there is an API that allows you to capture the screen (available in Media Player using Ctrl-I shortcut key). I haven't looked into the details on how to get the SDK way (because my previous attemp to do this, is to cature the Form itself), so let me redirect you to an article that demonstrate how to do this in C++:
http://www.codeproject.com/dialog/screencap.asp

Go to "Capturing the Screen with Window Media API " section of the article.

Best of luck,

-chris

ChrisVega at 2007-8-30 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 2

I have windows media 9 I tried the crtl I to capture a picture from live feed from a local zoo. I wanted to use the pic as a screen saver or on my desktop. Because its live feed is this why its stopping me from captureing that specific frame?

Thanks

Tracy Madry aka tigergirl923

tigergirl923 at 2007-8-30 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 3
Is you Media Player asking you for filename whenever you press Ctrl-I? If not, then you may try capturing the screen using Print-Screen, but to do that, you have to disable overlay support from your Media Player from its options.

Regards,

-chris

ChrisVega at 2007-8-30 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 4

where is the disable overlay support option in opitions for windows media. Also I don't have a print selection in file or if I hit ctrl+p.

Thanks

tigergirl923

tigergirl923 at 2007-8-30 > top of Msdn Tech,Windows Forms,Windows Forms General...