ifilikeituwill
Technical User
I haven't been able to write this process correct for
VScroll Proceedure and Command Button Routine. I'm
getting Errors in the quotation section of an event
proceedure for one.
Then in my cases, Case 1, it wants an = (1) at the end,
like a value at the end! Something is wrong with each case
selection!
I'm trying to use the VScroll.Value to activate command
Buttons! Can someone help me correct this code Please?
Thanks for reading my Post!
ifilikeituwill
Source Code for the VScroll follows!
Private Sub VScroll1_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles VScroll1.Scroll
Select Case VScroll1.Value()
Case 0
Command0_Click(Nothing, Nothing)
Case 1
Command1_Click(Nothing, Nothing)
Case 2
Command2_Click(Nothing, Nothing)
Case 3
Command3_Click(Nothing, Nothing)
Case 4
Command4_Click(Nothing, Nothing)
Case 5
Command5_Click(Nothing, Nothing)
Case 6
Command6_Click(Nothing, Nothing)
Case 7
Command7_Click(Nothing, Nothing)
Case 8
Command8_Click(Nothing, Nothing)
Case 9
Command9_Click(Nothing, Nothing)
Case 10
Command10_Click(Nothing, Nothing)
Case 11
Command11_Click(Nothing, Nothing)
Case 12
Command12_Click(Nothing, Nothing)
Case 13
Command13_Click(Nothing, Nothing)
Case 14
Command14_Click(Nothing, Nothing)
Case 15
Command15_Click(Nothing, Nothing)
Case 16
Command16_Click(Nothing, Nothing)
Case 17
Command17_Click(Nothing, Nothing)
Case 18
Command18_Click(Nothing, Nothing)
End Select
End Sub
VScroll Proceedure and Command Button Routine. I'm
getting Errors in the quotation section of an event
proceedure for one.
Then in my cases, Case 1, it wants an = (1) at the end,
like a value at the end! Something is wrong with each case
selection!
I'm trying to use the VScroll.Value to activate command
Buttons! Can someone help me correct this code Please?
Thanks for reading my Post!
ifilikeituwill
Source Code for the VScroll follows!
Private Sub VScroll1_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles VScroll1.Scroll
Select Case VScroll1.Value()
Case 0
Command0_Click(Nothing, Nothing)
Case 1
Command1_Click(Nothing, Nothing)
Case 2
Command2_Click(Nothing, Nothing)
Case 3
Command3_Click(Nothing, Nothing)
Case 4
Command4_Click(Nothing, Nothing)
Case 5
Command5_Click(Nothing, Nothing)
Case 6
Command6_Click(Nothing, Nothing)
Case 7
Command7_Click(Nothing, Nothing)
Case 8
Command8_Click(Nothing, Nothing)
Case 9
Command9_Click(Nothing, Nothing)
Case 10
Command10_Click(Nothing, Nothing)
Case 11
Command11_Click(Nothing, Nothing)
Case 12
Command12_Click(Nothing, Nothing)
Case 13
Command13_Click(Nothing, Nothing)
Case 14
Command14_Click(Nothing, Nothing)
Case 15
Command15_Click(Nothing, Nothing)
Case 16
Command16_Click(Nothing, Nothing)
Case 17
Command17_Click(Nothing, Nothing)
Case 18
Command18_Click(Nothing, Nothing)
End Select
End Sub