Munna Sarfraz

Munna Sarfraz

  • NA
  • 6
  • 11.8k

Threading

Sep 24 2008 3:47 AM

Hi,

I am using c# language in window application, Using browser controls, connecting any web site, if web site persists any Javascript alert then

main thread or systems thread is blocked, In that case I am dragging an image into the application, But its not working, Because due to javascript alert blocks systems thread,  

 

I am using this code but not able to solve

 

delThread objDelMethod = new delThread(this.toolStripObjectSpy_MouseMove);

actionThread = new Thread(new ThreadStart(objDelMethod));

actionThread.Start();

Thread.Sleep(500);

 

This function toolStripObjectSpy_MouseMov ist not custom function

 

Please tell me how can I do ?