Click here to Skip to main content
15,881,173 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
CSS
Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: windowsformsapplication1.exe
  Problem Signature 02: 1.0.0.0
  Problem Signature 03: 5492cce7
  Problem Signature 04: System
  Problem Signature 05: 4.0.30319.18408
  Problem Signature 06: 52311185
  Problem Signature 07: 21b0
  Problem Signature 08: 61
  Problem Signature 09: OpenQA.Selenium.WebDriver
  OS Version:   6.1.7601.2.1.0.256.48
  Locale ID:    13313
  Additional Information 1: de12
  Additional Information 2: de12fc8c1264863afd2c5db80a9c81b6
  Additional Information 3: f0ae
  Additional Information 4: f0aea4b779e3a436efe3c90f3c65a4f2



i invoke thread using
C#
Invoke(new Action(() =>
            {
                progressBar1.Visible = false;
                button1.Enabled = true;
                btnloadnumbers.Visible = true;
                txtSearch.Enabled = true;
                btnloadnumbers.Enabled = true;

            }));


and published by visual studio installer
Posted
Comments
PIEBALDconsult 18-Dec-14 11:37am    
Probably cross-thread issues with the GUI thread, but seeing the text of the Exception would help.
http://www.codeproject.com/Tips/590495/Multi-threading-and-cross-thread-function-invoke
http://www.codeproject.com/Articles/24290/Progress-Bar-Best-Practices

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900