I hope this is the right group.
I have just started using ActiveX and I am trying to find out how to get the
current image when on pause. This can go to the clipboard, to a file,
picturebox etc My simple code is:
Imports Microsoft.DirectX.AudioVideoPlayback
Public Class Form1
Dim MyVid As Microsoft.DirectX.AudioVideoPlayback.Video
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
MyVid = Video.FromFile("C:\080117_140321.asf", False)
MyVid.Owner = Me
MyVid.Play()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
MyVid.Pause()
'Need to capture frame here
End Sub
End Class
Thanks
-Jerry
Archived from group: microsoft>public>vb>directx