I got a VB 2005 that I am using to create a form which has two Windows Media Player but am getting a runtime error that says "System.InvalidOperationException was unhandled. An error occurred creating the form." I am not playing anything immediately and the issue happens while loading the form before trying to play anything. In C# this used to work. This project uses sound files that is created via Directx. The problem that I am facing is that VB cannot run a form containing WMP 10, and when I delete the players then the form will load. VB 2005 is also telling me that DirectX is not properly installed when looking for toolbox components and I have already installed the DirectX SDK. Can anyone give me some suggestions to correct this issue? Thank you.
Bookmarks