Click here to Skip to main content
15,887,135 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: pointing to the wrong dbase Pin
zaimah15-May-08 16:00
zaimah15-May-08 16:00 
GeneralRe: pointing to the wrong dbase Pin
Christian Graus15-May-08 16:55
protectorChristian Graus15-May-08 16:55 
AnswerRe: pointing to the wrong dbase Pin
Thomas Stockwell19-May-08 8:08
professionalThomas Stockwell19-May-08 8:08 
QuestionHow to vibrate a gamepad within vb.net thus use of directinput? Pin
JUNEYT15-May-08 9:53
JUNEYT15-May-08 9:53 
AnswerRe: How to vibrate a gamepad within vb.net thus use of directinput? Pin
Vimalsoft(Pty) Ltd16-May-08 1:48
professionalVimalsoft(Pty) Ltd16-May-08 1:48 
QuestionSend image to another form Pin
winsane15-May-08 7:42
winsane15-May-08 7:42 
AnswerRe: Send image to another form Pin
JUNEYT15-May-08 10:29
JUNEYT15-May-08 10:29 
GeneralRe: Send image to another form Pin
winsane16-May-08 8:24
winsane16-May-08 8:24 
Everything seems to work ok except this one thing......

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim I As Int32 = Nothing
MySelectedItem1 = ListBox1.SelectedItems.Item(I)
MySelectedItem2 = ListBox2.SelectedItems.Item(I)
MySelectedItem3 = ListBox3.SelectedItems.Item(I)
MySelectedItem4 = ListBox4.SelectedItems.Item(I)
Dim y As New Form2
Dim x As New Form3
x.ShowDialog()
y.ShowDialog()
End Sub

Error message says:
IndexOutOfRangeException was unhandled
Index is out of bounds of the array
The error points to the MySelectedItem1 = ListBox1.SelectedItems.Item(I)

-Live long and prosper

AnswerRe: Send image to another form Pin
Christian Graus15-May-08 11:33
protectorChristian Graus15-May-08 11:33 
GeneralRe: Send image to another form Pin
winsane15-May-08 17:38
winsane15-May-08 17:38 
GeneralRe: Send image to another form Pin
Christian Graus15-May-08 19:22
protectorChristian Graus15-May-08 19:22 
QuestionReg:Get Source Path Pin
P.T.R.K15-May-08 4:04
P.T.R.K15-May-08 4:04 
AnswerRe: Reg:Get Source Path Pin
helelark12315-May-08 4:35
helelark12315-May-08 4:35 
QuestionVB.NET with Access Database Pin
PCChuck15-May-08 4:01
PCChuck15-May-08 4:01 
AnswerRe: VB.NET with Access Database Pin
helelark12315-May-08 4:38
helelark12315-May-08 4:38 
GeneralRe: VB.NET with Access Database Pin
PCChuck15-May-08 5:18
PCChuck15-May-08 5:18 
GeneralRe: VB.NET with Access Database Pin
Steven J Jowett15-May-08 6:02
Steven J Jowett15-May-08 6:02 
QuestionDifferentiate form close event Pin
nishkarsh_k15-May-08 2:59
nishkarsh_k15-May-08 2:59 
AnswerRe: Differentiate form close event Pin
Rupesh Kumar Swami15-May-08 3:16
Rupesh Kumar Swami15-May-08 3:16 
GeneralRe: Differentiate form close event Pin
nishkarsh_k15-May-08 3:23
nishkarsh_k15-May-08 3:23 
AnswerRe: Differentiate form close event Pin
helelark12315-May-08 3:29
helelark12315-May-08 3:29 
GeneralRe: Differentiate form close event Pin
nishkarsh_k15-May-08 3:32
nishkarsh_k15-May-08 3:32 
GeneralRe: Differentiate form close event Pin
mr_lasseter15-May-08 4:05
mr_lasseter15-May-08 4:05 
GeneralRe: Differentiate form close event Pin
nlarson1115-May-08 4:07
nlarson1115-May-08 4:07 
AnswerRe: Differentiate form close event Pin
helelark12315-May-08 4:48
helelark12315-May-08 4:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.