07-28-2008, 6:38
|
ShodawN
Joined on 07-15-2008
Posts 11
|
Re: Take Frame from avi without show any frame
|
 
 
|
|
|
Hello,
I get a InvalidActiveXStateException.
If i set AxltmmPlayCtrl.Visible= false, i get an InvalidActiveXStateException. If i set AxltmmPlayCtrl.Visible= true, i get a timeout from GetStillPicture method.
My code is: ----------------------------------------- Dim img As Image = Nothing Dim r As New AxltmmPlayCtrl() r.Location = New Point(10, 10) r.Width = 10 r.Height = 10 r.Visible = False Me.Controls.Add(r)
Try r.sourcefile = filename img = r.GetStillPicture(500) Catch End Try
r.Stop() r.Dispose() r = Nothing GC.Collect() -----------------------------------------
Thank you
|
|
|
|
|
Report
|
|
|
|