bluejaguar456 Posted August 13, 2009 Posted August 13, 2009 Hey All, I am currently near the end of a piece of software built for a company. I have just come over one problem that i cant seem to get the answer too. When my program come up with an error (like it cant find a file for example) it sends the error message and a screen shot to my company email. while it is sending this email it freezes the program and then continues after it has finished. i want it to display a form which i have already created that tells the user an error report is being sent, but not freeze the program while it sends the email. can anybody help? Thanks alot Bluejag. Quote
Administrators PlausiblyDamp Posted August 13, 2009 Administrators Posted August 13, 2009 Have you looked at the background worker component? It will allow you to run the email on a background thread without too much effort. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
bluejaguar456 Posted August 14, 2009 Author Posted August 14, 2009 thanks for that plausiblyDamp works brilliantly cheers Quote
bprashanth Posted August 17, 2009 Posted August 17, 2009 Thank you plausiblyDamp for that piece of info. Background worker was a sure eye-opener for me (as I was accustomed to programming threads in pre-.NET 2.0 era) ... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.