November 14th, 2008 05:43 AM
If you want the window to close when you click on it create a subroutine such as this:
Sub FormCloser(sender As Object, e As EventArgs) Handles Me.Click
me.Close
End Sub
November 14th, 2008 02:26 AM
Ah ha! I have managed to find a way to do what I need using the Thread.Join method. Below is the code:
Option Explicit On
Option Strict On
Imports System.Threading
Public Partial Class...
November 14th, 2008 01:39 AM
Sorry, I'm not sure what you mean. I assume that when the time (2000ms) is up it triggers the ThreadTimer.Tick event. When this happens an if-statement checks whether or not the thread is still...
November 13th, 2008 02:59 AM
Here is the VB.NET project that performs this test.
November 13th, 2008 02:26 AM
I tried the following code, but it does not abort the thread when it should. Any ideas why?
I created a simple form in SharpDevelop with a button and added this code:
Option Explicit On...
November 12th, 2008 03:22 AM
Thanks Gremlin, I appreciate the help. Will try it.
November 11th, 2008 03:41 AM
I am working on a project where I make use of the lp_solve 5.5.0.13 DLL to solve many integer programming (IP) problems in succession. I set the timeout to 1s in order to speed up the calculations. ...