Manikyr,
Read the following announcement:
1.
Homework rules
2.
How to use BB code tags?
scsachira,
Use bb code tag. Source code must be surrounded with code tags.
Use ReDim statement to resize an array:
When use click on Add button, value from TextBox1 will be added to an array and a label show a recent added string
....
Dim Ar() as String
...
Sub AnyHow()
Dim I as Integer=0
if IsNothing(Ar) then
Redim Ar(i)
else
i=Ar.Length
ReDim Preserve Ar(i)
End If
...
...
End Sub
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
Offline 6,527 posts
since Oct 2008