axWindowsMediaPlayer Exception ?
When I create an instance of my page like this :FXrealdetay formdetay =newFXrealdetay(); Exception throws like below :
ActiveX control '6bf52a52-394a-11d3-b153-00c04f79faa6' cannot be instantiated because the current thread is not in a single-threaded apartment.
Error line :this.axWindowsMediaPlayer1 =new AxWMPLib.AxWindowsMediaPlayer();
But from another form when ? create instance and show the page error doesnt throw.it works.
What can I Do?
Thanks.

