Click here to Skip to main content
15,922,696 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to clear How to clear Exception thrown by the target of an invocation. Pin
GopiCS13-Oct-08 19:08
GopiCS13-Oct-08 19:08 
AnswerRe: How to clear How to clear Exception thrown by the target of an invocation. Pin
Dave Kreskowiak14-Oct-08 1:58
mveDave Kreskowiak14-Oct-08 1:58 
JokeConextMenuStrip is displayed to fast on load (how to sync when main form visible). Pin
Jon_Boy13-Oct-08 15:35
Jon_Boy13-Oct-08 15:35 
AnswerRe: ConextMenuStrip is displayed to fast on load (how to sync when main form visible). Pin
GopiCS13-Oct-08 19:18
GopiCS13-Oct-08 19:18 
GeneralRe: ConextMenuStrip is displayed to fast on load (how to sync when main form visible). Pin
Tom Deketelaere14-Oct-08 1:19
professionalTom Deketelaere14-Oct-08 1:19 
GeneralRe: ConextMenuStrip is displayed to fast on load (how to sync when main form visible). [modified] Pin
Jon_Boy14-Oct-08 10:01
Jon_Boy14-Oct-08 10:01 
GeneralRe: ConextMenuStrip is displayed to fast on load (how to sync when main form visible). Pin
Tom Deketelaere14-Oct-08 20:56
professionalTom Deketelaere14-Oct-08 20:56 
QuestionBreak String into multiple listboxes Pin
JeffStewart13-Oct-08 13:38
JeffStewart13-Oct-08 13:38 
I am currently working on a app that loads a TAB delimeted text file
into a listbox then runs through the listbox and breaks each line into
four different listboxes. The file loads fine, but when I try to break
the string appart and add them to different listboxes I get an error.
Here is the code I'm using that is returning the error:

For theList = 0 To lstMain.Items.Count - 1
            theListText = lstMain.Items(theList)
            Dim Break() As String = theListText.Split("	")
            lstSymbol.Items.Add(Break(0))
            lstScience.Items.Add(Break(1))
            lstCommon.Items.Add(Break(2))
Next

The error message I get says: 'Index was outside the bounds of the array.'
Does anyone know how I would fix this? Any help would be appreciated.

Jeff
AnswerRe: Break String into multiple listboxes Pin
Jon_Boy13-Oct-08 14:02
Jon_Boy13-Oct-08 14:02 
AnswerRe: Break String into multiple listboxes Pin
Mycroft Holmes13-Oct-08 17:52
professionalMycroft Holmes13-Oct-08 17:52 
GeneralRe: Break String into multiple listboxes Pin
JeffStewart13-Oct-08 18:31
JeffStewart13-Oct-08 18:31 
GeneralRe: Break String into multiple listboxes Pin
Jon_Boy14-Oct-08 7:35
Jon_Boy14-Oct-08 7:35 
GeneralRe: Break String into multiple listboxes Pin
JeffStewart14-Oct-08 13:33
JeffStewart14-Oct-08 13:33 
QuestionVB Rich Text Box Overstrike Pin
CAN Coder13-Oct-08 8:03
CAN Coder13-Oct-08 8:03 
AnswerRe: VB Rich Text Box Overstrike Pin
Dave Kreskowiak14-Oct-08 1:53
mveDave Kreskowiak14-Oct-08 1:53 
GeneralRe: VB Rich Text Box Overstrike Pin
CAN Coder14-Oct-08 4:33
CAN Coder14-Oct-08 4:33 
QuestionCompare two datasets Pin
Sebastian T Xavier13-Oct-08 5:31
Sebastian T Xavier13-Oct-08 5:31 
AnswerRe: Compare two datasets Pin
Wendelius13-Oct-08 6:20
mentorWendelius13-Oct-08 6:20 
GeneralRe: Compare two datasets Pin
Sebastian T Xavier13-Oct-08 6:45
Sebastian T Xavier13-Oct-08 6:45 
GeneralRe: Compare two datasets Pin
Wendelius13-Oct-08 7:20
mentorWendelius13-Oct-08 7:20 
QuestionConnecting to access using vb6.0 Pin
Michelle Shoniwa13-Oct-08 4:21
Michelle Shoniwa13-Oct-08 4:21 
AnswerRe: Connecting to access using vb6.0 Pin
Dave Kreskowiak13-Oct-08 4:33
mveDave Kreskowiak13-Oct-08 4:33 
GeneralRe: Connecting to access using vb6.0 Pin
Mycroft Holmes13-Oct-08 17:57
professionalMycroft Holmes13-Oct-08 17:57 
AnswerRe: Connecting to access using vb6.0 Pin
Paul Conrad13-Oct-08 12:11
professionalPaul Conrad13-Oct-08 12:11 
QuestionSystem.Threading.Timer - stops executing on its own Pin
alexvw13-Oct-08 3:40
alexvw13-Oct-08 3:40 

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.