Someone's having a bad day (again).
I see you are calling the function popdrawschedules from your form's Load event handler. I'm wondering if you're using a 64 bit OS since exceptions occuring in the Load event handler are unfortunately swallowed while debugging under a 64bit operating system.
This line
will throw an exception as you can not index an empty list (you declared it as New in the previous line).Code:cummList(k) = list(k) & " " & list2(k) & " " & list3(k)
Tryinstead.Code:cummList.add(list(k) & " " & list2(k) & " " & list3(k))
And while you're at it, add an As clause to your function's declaration
Code:Public Function popdrawschedules() As List(Of String)




Reply With Quote