468,740 Members | 2,146 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,740 developers. It's quick & easy.

not a directx group but its a vb.net app problem

I created a little app to play videos in a panel and its eating memory. no matter what i do it takes more
memory with each clip. i tried everything even closing the form everything is declared in, and
played with, but it wont let go of the memory its used. No matter how i load the new clips.
Imports Microsoft.DirectX
Imports Microsoft.DirectX.AudioVideoPlayback
Private theVideo As Video
theVideo = New Video(File)
theVideo.Owner = Panel1
I also tried using Fromfile(myFile), and Open(myFile) to load later clips in a version
that didn't close the form between clips . The usage just keeps going up. I even tried
to dispose of the video object(I know it shouldnt matter). the form is created
by a button on another form, plays it in a panel for a length of time, then closes.
I'm new at vb.net so if i may have missed something obvious.
Thanks in advance for any help!
Nov 20 '05 #1
0 800

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Dr Paul A Daniels | last post: by
1 post views Thread by cprog84 | last post: by
3 posts views Thread by Michael | last post: by
reply views Thread by Harvey Cohen | last post: by
1 post views Thread by Piotrek Alchemik | last post: by
4 posts views Thread by Rich | last post: by
2 posts views Thread by untitled | last post: by
1 post views Thread by CARIGAR | last post: by
2 posts views Thread by xarzu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.