End Google Ads 201810 - BS.net 01 -->
I use axShockwaveFlash COM in the my frmSplash windows form for play flash file. I want to ShowDialog frmSplash in my main form. Its properly work. But I use thread I get error, Cannot create axShockwaveFlash component instance.
In my main form contain following code;
private void button1_Click(object sender, EventArgs e)
{
Control.CheckForIllegalCrossThreadCalls = false;
Thread thread = new Thread(DoSplash);
thread.IsBackground = true;
thread.Start();
}
private void DoSplash()
{
frmSplash sp = new frmSplash();
sp.Show();
}
My frmSplash form just contain axShockwaveFlash component. I dont write any code in this form.
How can I solve my problem, thanks...
مواقع النشر (المفضلة)