01-19-2012, 02:46 PM
Guys,
Thanks for your help thus far. So I added a Timer control to the form and in its _Click event, I called the thread I'd already setup to handle the connection check.
All is working fine, except that now I'm getting the following exception:
I guess the loop is working but now since the greenbar.png image file had already been displayed in the previous interation, it's saying the file is already open.
So question is, how do I release the file before going into another interation?
PS. Brandon, I haven't watched your video yet. I'm leaving work now, and will do that when I get home. But I suspect I will run into the same problem.
Thanks for your help thus far. So I added a Timer control to the form and in its _Click event, I called the thread I'd already setup to handle the connection check.
All is working fine, except that now I'm getting the following exception:
Quote:System.InvalidOperationException was unhandled
Message=Object is currently in use elsewhere.
I guess the loop is working but now since the greenbar.png image file had already been displayed in the previous interation, it's saying the file is already open.
So question is, how do I release the file before going into another interation?
PS. Brandon, I haven't watched your video yet. I'm leaving work now, and will do that when I get home. But I suspect I will run into the same problem.
//Kismet