Search:
Type: Posts; User: FrankZA
Search:
Search took 0.02 seconds.
-
In this example it was my aim to get only the second element in the ArrayList AL: the ArrayList of Structs.Point objects. I cannot think of a neater way of extracting an ArrayList out of another...
-
I managed to get it to work. All it takes is the liberal application of DirectCast.
Sub Tester(ByRef AL As ArrayList)
Dim a As New ArrayList
a = DirectCast(AL(1), ArrayList)...
-
I have been able to set a new ArrayList equal to one of the ArrayLists that form part of another ArrayList.
Dim a As New ArrayList
a = DirectCast(AL(2), ArrayList)
However, I still get a...
-
I am new to the use of ArrayLists and am trying to convert an algorithm to use them in order to save memory. However, I am struggling to achieve error-free code while using "Strict On".
Here is a...
-
November 14th, 2008, 06: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, 03: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, 02: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, 03:59 AM
Here is the VB.NET project that performs this test.
-
November 13th, 2008, 03: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, 04:22 AM
Thanks Gremlin, I appreciate the help. Will try it.
-
November 11th, 2008, 04: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. ...
-
July 24th, 2008, 07:57 AM
The following happens. When I initiate the program, Form1 opens with a whole bunch of text boxes for input. When I press a button, these inputs are used to create data. If a valid data set is...
-
July 24th, 2008, 03:31 AM
Cool, will do so. Could you help me though with the problem of making the windows independent of each other (other than the info sent to Form2), so that if I close one, the other stays open. For...
-
July 23rd, 2008, 07:30 AM
Thanks Boet
That works perfectly!
-
July 23rd, 2008, 05:10 AM
I am designing a program that is supposed to find test examples for a problem according to certain rules. I have a small form with some text boxes for rule input. When a button is pressed this...
-
April 9th, 2008, 09:34 AM
Thanks zd, I would appreciate that a lot!
-
April 9th, 2008, 08:35 AM
Would something like this work in VB? I have no experience in other languages, but I would guess that was some form of C.
-
April 9th, 2008, 07:55 AM
Hi
I am busy writing a program that is supposed to evaluate some algorithms (by time or result). When the program loads, a form appears. Once some selections in comboboxes have been made, the...
|
Click Here to Expand Forum to Full Width
|