Sorry I had to go for a while. Now what I meant was that in the Form Load I have to assign the return parameter to a string and I did it like this and gives no error now. But still I get the same "0" return in the FindGap() of my first tops in this thread ???

Dim RandomStr As String = GetRandomString()