在 VB.NET 中创建AxShockwaveFlash
控件时出现错误,当我加载电影时,出现错误:
引发了“System.Windows.Forms.AxHost+InvalidActiveXStateException”类型的异常。
这是我的代码:
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()