By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,730 Members | 1,567 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,730 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
theVideo.Play()
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.