I have a simple Vb.Net Windows Form with 12 buttons on it. Each button accesses the same Function Module and returns the same effect. The only difference between buttons is that when each button is clicked, there is a different array of numerical values (no more than 10) that is sent to the Function.
Button#1 works fine.
Button#2 works fine.
Buttons# 3 - #12 do not work at all.
The code is exactly the same for every button, as mentioned, and the data being sent is not an issue (I already tried switching values around- still the only working buttons are #1 and #2).
When putting breakpoints in the code, the points are reached, but the return effect just plain does not show for any buttons #3-#12. At times, it seems to just drop out of the function at random places without fulfilling the designated commands. As I said, stepping through the code shows that each line is being encountered, but not necessarily carried out.
Why would this be happening? Is this a strange VB.NET bug that I'm not aware of?
Thanks for all suggestions!