Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #72.8K
Ranked #4K
~2K People Reached
Favorite Forums

2 Posted Topics

Member Avatar for manhthaodn

If it is a Windows app, then you can use the Application.ThreadException event: [CODE]static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException); Application.Run(new MainForm()); } private static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e) { // add code to send email here } [/CODE] The ThreadException event is raised whenever there …

Member Avatar for manhthaodn
0
122
Member Avatar for coroll

You are also being affected by the fact that C# is case-sensitive. You defined your property as "click" (all lower case). But your code referenced ppay.Click (capitalized). Most likely you can thank auto-complete for that. I would also suggest that you choose your names more carefully. "click" is an integer, …

Member Avatar for avertyn
0
2K

The End.