ObjectDisposedException error

Hey guys!!

I am having problems with the above error.  The program runs on several computers including Windows 7 x64 and Windows XP x32.
However I just purchased a computer with Windows 7 x32 and when I run this program I get this error and most of the time it is when I move the mouse on the main form when the program first starts and after I log in.

How can I trouble shoot this error and what should I look for.

Thanks,
Jerry
JDL129Asked:
Who is Participating?
 
käµfm³d 👽Connect With a Mentor Commented:
Add in error handling and logging such that you can gain access to the stack trace to pin down where the error is occurring. You might look into handling the AppDomain.UnhandledException event.

Once you know where--at least which method is raising--the error is, you'll have a much smaller place to search.
0
 
JDL129Author Commented:
kaufmed!!  Thanks for the post!!

I copied the AppDomain code into my program but it doesn't hit it.  Could you possibly elaborate?

Thanks,
Jerry
0
 
JDL129Author Commented:
Thanks kaufmed!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.