Hi!
Stupid question i know.How do i load 2 public arrays with inputed text and then send that values to a richtextbox for printing? I know the printing part. Just strugling with the array bit.
PLEASE HELP ME!
Its driving me MAD!
try the following
Dim Str1, Str2, Str3, Str4 As String
Str1 = "The is a test"
Str2 = "of string array concatenate example"
Str3 = "First Load the Array with strings"
Str4 = "Then load a string to pass to the rich text box"
Dim Array1()
Dim Array2()
Array1(0) = Str3
Array1(1) = Str4
Array2(0) = Str1
Array2(1) = Str2
Dim passstr As String
For i As Integer = 0 To 1
Select Case i
Case 0
passstr = Array1(0) & vbCrLf & Array1(1) & vbCrLf
Case 1
passstr = Array2(0) & vbCrLf & Array2(1) & vbCrLf
End Select
Next
Finally assign the passstr to the rich text box.
Have Fun ........
ArkDawg