Original Post
Hello... I have some video troubles in a C# form. I am trying to play an .AVI file in a panel. Mysteriously, it used to work fine, but I decided to re-write some of the code. Now, the video playback no longer works, but I can still hear the audio. I am certain I did not change any code that would affect the video playback. What is going wrong? Here's the code: using Microsoft.DirectX.AudioVideoPlayback; try { int height = videoPanel.Height; int width = videoPanel.Width; video = new Video(Application.StartupPath + "\\test.avi"); video.Owner = videoPanel; videoPanel.Width = width; videoPanel.Height = height; video.Play(); } catch (Exception exc) { // } This is called on form load. I tried calling it from clicking on buttons and such, but I still received the same undesired effect (audio but no video).