Click here to Skip to main content
15,896,207 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Multiple timers accessing single class Pin
Tom Deketelaere2-Apr-09 21:48
professionalTom Deketelaere2-Apr-09 21:48 
AnswerRe: Multiple timers accessing single class Pin
Mycroft Holmes2-Apr-09 22:04
professionalMycroft Holmes2-Apr-09 22:04 
GeneralRe: Multiple timers accessing single class Pin
Eddy Vluggen2-Apr-09 22:20
professionalEddy Vluggen2-Apr-09 22:20 
GeneralRe: Multiple timers accessing single class Pin
Jon_Boy3-Apr-09 2:23
Jon_Boy3-Apr-09 2:23 
AnswerRe: Multiple timers accessing single class Pin
Dave Kreskowiak3-Apr-09 9:26
mveDave Kreskowiak3-Apr-09 9:26 
GeneralRe: Multiple timers accessing single class Pin
Doug.Aliff4-Apr-09 16:43
Doug.Aliff4-Apr-09 16:43 
QuestionMysterious Error Pin
Dave_Lowe2-Apr-09 4:11
Dave_Lowe2-Apr-09 4:11 
AnswerRe: Mysterious Error [modified] Pin
Gregory Gadow2-Apr-09 9:51
Gregory Gadow2-Apr-09 9:51 
At a guess, I would say that ModemTests is not being initialized properly as an array. The String class has a default property such that MyString(x) returns the xth character; if MyString has no characters, you will get his error.

Added

I ran these two tests:

Dim s As String() = {}
Debug.WriteLine(s(0))


Dim s As String = ""
Debug.WriteLine(s(0))


Both returned IndexOutOfRangeException, which seems to blow my theory. The only other thing I can think of is that the problem is with the value of e.ReceivedData. You might want to stick in some diagnostic code to check the value before doing the assignment.

modified on Thursday, April 2, 2009 4:04 PM

GeneralRe: Mysterious Error Pin
Dave_Lowe2-Apr-09 10:10
Dave_Lowe2-Apr-09 10:10 
GeneralRe: Mysterious Error Pin
Dave_Lowe2-Apr-09 10:20
Dave_Lowe2-Apr-09 10:20 
GeneralAh, I was looking at the wrong bit of your code Pin
Gregory Gadow2-Apr-09 10:43
Gregory Gadow2-Apr-09 10:43 
QuestionOutput Incorrect [SOLVED] Pin
vijay24822-Apr-09 4:03
vijay24822-Apr-09 4:03 
AnswerRe: Output Incorrect Pin
EliottA2-Apr-09 4:41
EliottA2-Apr-09 4:41 
GeneralMessage Closed Pin
2-Apr-09 5:23
vijay24822-Apr-09 5:23 
GeneralRe: Output Incorrect Pin
Jon_Boy2-Apr-09 6:03
Jon_Boy2-Apr-09 6:03 
Questionrun cmd.. Pin
p_19602-Apr-09 0:17
p_19602-Apr-09 0:17 
AnswerRe: run cmd.. Pin
Anubhava Dimri2-Apr-09 1:06
Anubhava Dimri2-Apr-09 1:06 
AnswerRe: run cmd.. Pin
Eddy Vluggen2-Apr-09 1:29
professionalEddy Vluggen2-Apr-09 1:29 
Question[Message Deleted] Pin
patricemburu1-Apr-09 21:46
patricemburu1-Apr-09 21:46 
AnswerRe: vb 6.0 Pin
Tom Deketelaere1-Apr-09 23:47
professionalTom Deketelaere1-Apr-09 23:47 
AnswerRe: vb 6.0 Pin
0x3c02-Apr-09 5:50
0x3c02-Apr-09 5:50 
AnswerRe: vb 6.0 Pin
Christian Graus3-Apr-09 0:00
protectorChristian Graus3-Apr-09 0:00 
QuestionHow to get the open file dialog size right ? Pin
fd97501-Apr-09 21:07
professionalfd97501-Apr-09 21:07 
AnswerRe: How to get the open file dialog size right ? Pin
Mycroft Holmes1-Apr-09 23:19
professionalMycroft Holmes1-Apr-09 23:19 
GeneralRe: How to get the open file dialog size right ? Pin
fd97502-Apr-09 5:05
professionalfd97502-Apr-09 5:05 

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.