Click here to Skip to main content
15,906,626 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Startup Project Pin
Dave Kreskowiak19-Apr-07 9:34
mveDave Kreskowiak19-Apr-07 9:34 
GeneralRe: Startup Project Pin
kubben19-Apr-07 9:49
kubben19-Apr-07 9:49 
GeneralRe: Startup Project Pin
TenmanS1420-Apr-07 1:46
TenmanS1420-Apr-07 1:46 
GeneralRe: Startup Project Pin
Dave Kreskowiak20-Apr-07 1:50
mveDave Kreskowiak20-Apr-07 1:50 
GeneralRe: Startup Project Pin
TenmanS1420-Apr-07 2:02
TenmanS1420-Apr-07 2:02 
GeneralRe: Startup Project Pin
Dave Kreskowiak20-Apr-07 1:51
mveDave Kreskowiak20-Apr-07 1:51 
GeneralRe: Startup Project Pin
kubben20-Apr-07 2:05
kubben20-Apr-07 2:05 
QuestionA problem with an array populating an unbound DGV Pin
DA_Loring19-Apr-07 6:31
DA_Loring19-Apr-07 6:31 
THe error message is:

"Index and length must refer to a location within the string.
Parameter name: length"

Source: mscorlib

The lines causing the error are:

Dim row() As String = {rowBuild(0), rowBuild(1), rowBuild(2), rowBuild(3), rowBuild(4), rowBuild(5), rowBuild(6), rowBuild(7), rowBuild(8), rowBuild(9), rowBuild(10), rowBuild(11), rowBuild(12), rowBuild(13), rowBuild(14), rowBuild(15)}

Me.dgvData.Rows.Add(row)

This is loading data into an unbound DataGridView. The declaration for rowBuild is

Dim rowBuild(15) As String

Each rowBuild element has data in it, so I can't see what is wrong.

Any ideas????????Confused | :confused:



David Loring
!! Keep Music Live !!

AnswerRe: A problem with an array populating an unbound DGV [modified] Pin
Dave Kreskowiak19-Apr-07 7:19
mveDave Kreskowiak19-Apr-07 7:19 
GeneralRe: A problem with an array populating an unbound DGV Pin
DA_Loring19-Apr-07 23:48
DA_Loring19-Apr-07 23:48 
GeneralRe: A problem with an array populating an unbound DGV Pin
DA_Loring20-Apr-07 0:27
DA_Loring20-Apr-07 0:27 
GeneralRe: A problem with an array populating an unbound DGV Pin
Dave Kreskowiak20-Apr-07 2:02
mveDave Kreskowiak20-Apr-07 2:02 
QuestionIdentify Page Number of String Within RTF Document Pin
Brad Huss19-Apr-07 5:43
Brad Huss19-Apr-07 5:43 
AnswerRe: Identify Page Number of String Within RTF Document Pin
Patrick Etc.22-Apr-07 13:43
Patrick Etc.22-Apr-07 13:43 
QuestionAlfa to Bravo need help! Pin
NANCO19-Apr-07 4:46
NANCO19-Apr-07 4:46 
AnswerRe: Alfa to Bravo need help! Pin
Marcus J. Smith19-Apr-07 5:03
professionalMarcus J. Smith19-Apr-07 5:03 
AnswerRe: Alfa to Bravo need help! Pin
Colin Angus Mackay19-Apr-07 5:19
Colin Angus Mackay19-Apr-07 5:19 
AnswerRe: Alfa to Bravo need help! Pin
dptalt20-Apr-07 2:25
dptalt20-Apr-07 2:25 
QuestionHow to delete folder and its subfolders Pin
re infecta19-Apr-07 4:43
re infecta19-Apr-07 4:43 
AnswerRe: How to delete folder and its subfolders Pin
Dave Kreskowiak19-Apr-07 5:00
mveDave Kreskowiak19-Apr-07 5:00 
Questionneed to display stdout messages Pin
mduran4019-Apr-07 4:19
mduran4019-Apr-07 4:19 
AnswerRe: need to display stdout messages Pin
Dave Kreskowiak19-Apr-07 4:57
mveDave Kreskowiak19-Apr-07 4:57 
AnswerRe: need to display stdout messages Pin
sthotakura19-Apr-07 9:14
sthotakura19-Apr-07 9:14 
GeneralRe: need to display stdout messages Pin
mduran4019-Apr-07 10:23
mduran4019-Apr-07 10:23 
GeneralRe: need to display stdout messages Pin
sthotakura20-Apr-07 7:30
sthotakura20-Apr-07 7:30 

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.