I've got an error while creating an AxShockwaveFlash
control in VB.NET , when I load a movie , an error appears :
Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown .
This is my code :
Dim animFlashObject As New AxShockwaveFlash
Me.Controls.Add(animFlashObject)
animFlashObject.Movie = "D:\Dé-compilateur de .d2p\data\swf\9014.swf"
animFlashObject.EmbedMovie = True
animFlashObject.Play()