I have an array set up to receive the names of forms when they open. The form name is sent as a Form not a String therefore when I run my code I cannot check for whether the field is empty in the normal way (ie. array(1) = "") as the "" are only usable with strings!
Dim Forms(24) As Form Dim i As Integer Dim Free As Integer = -1 Do If Forms(i) = Then Free = CInt(i) End If Loop Until Free <> -1
I only need a solution to do the same as array(1)="" but for windows forms.
Thanks for the help!