Click here to Skip to main content
15,918,889 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Extend Standard Context menu Pin
P$YCH015-Oct-10 21:48
P$YCH015-Oct-10 21:48 
GeneralRe: Extend Standard Context menu Pin
DaveAuld15-Oct-10 22:08
professionalDaveAuld15-Oct-10 22:08 
GeneralRe: Extend Standard Context menu Pin
P$YCH015-Oct-10 22:41
P$YCH015-Oct-10 22:41 
AnswerRe: Extend Standard Context menu Pin
Dave Kreskowiak15-Oct-10 14:09
mveDave Kreskowiak15-Oct-10 14:09 
GeneralRe: Extend Standard Context menu Pin
P$YCH015-Oct-10 19:49
P$YCH015-Oct-10 19:49 
GeneralRe: Extend Standard Context menu Pin
Dave Kreskowiak16-Oct-10 3:25
mveDave Kreskowiak16-Oct-10 3:25 
QuestionMessage Removed Pin
14-Oct-10 21:10
vijay248214-Oct-10 21:10 
AnswerRe: error message: index and length must refer to a location within the string Pin
Henry Minute15-Oct-10 0:40
Henry Minute15-Oct-10 0:40 
For your future reference, using bold inside a code block, does not show up very well. It would be better to do something like:

VB
Public Sub New(ByVal lineIn As String)
    parent = Trim(lineIn.Substring(0, colStarts(1)))
    enfant = Trim(lineIn.Substring(colStarts(1), colStarts(2) - colStarts(1)))
    des_F = Trim(lineIn.Substring(colStarts(2), colStarts(3) - colStarts(2)))
    des_AD_F = Trim(lineIn.Substring(colStarts(3), colStarts(4) - colStarts(3))) '<======= ERROR HERE ================
    des_A = Trim(lineIn.Substring(colStarts(4), colStarts(5) - colStarts(4)))
    des_AD_A = Trim(lineIn.Substring(colStarts(5), colStarts(6) - colStarts(5)))
    draw_iss = Trim(lineIn.Substring(colStarts(6), colStarts(7) - colStarts(6)))
    dnf = Trim(lineIn.Substring(colStarts(7), colStarts(8) - colStarts(7)))
    baloon = Trim(lineIn.Substring(colStarts(8), colStarts(9) - colStarts(8)))
    util_qte = Trim(lineIn.Substring(colStarts(9), lineIn.Length - colStarts(9)))
    lastRowNum += 1
    rowNumber = lastRowNum
    SetDigitsAndSuffix(parent, parDigits, parSuffix)
    SetDigitsAndSuffix(enfant, enfDigits, enfSuffix)
End Sub


Also, without knowing the values of colStarts() and lineIn it is very difficult to offer a sensible suggestion.
Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

AnswerRe: error message: index and length must refer to a location within the string Pin
riced15-Oct-10 1:11
riced15-Oct-10 1:11 
GeneralRe: error message: index and length must refer to a location within the string Pin
vijay248215-Oct-10 1:40
vijay248215-Oct-10 1:40 
GeneralRe: error message: index and length must refer to a location within the string Pin
riced15-Oct-10 4:20
riced15-Oct-10 4:20 
GeneralRe: error message: index and length must refer to a location within the string Pin
vijay248215-Oct-10 10:41
vijay248215-Oct-10 10:41 
AnswerRe: error message: index and length must refer to a location within the string Pin
Richard MacCutchan15-Oct-10 2:19
mveRichard MacCutchan15-Oct-10 2:19 
GeneralMessage Removed Pin
15-Oct-10 2:22
vijay248215-Oct-10 2:22 
GeneralRe: error message: index and length must refer to a location within the string Pin
Richard MacCutchan15-Oct-10 5:39
mveRichard MacCutchan15-Oct-10 5:39 
AnswerRe: error message: index and length must refer to a location within the string Pin
Luc Pattyn15-Oct-10 2:35
sitebuilderLuc Pattyn15-Oct-10 2:35 
QuestionWriting and saving a XML file? Pin
sanyexian14-Oct-10 19:46
sanyexian14-Oct-10 19:46 
AnswerRe: Writing and saving a XML file? Pin
DaveAuld14-Oct-10 20:48
professionalDaveAuld14-Oct-10 20:48 
GeneralRe: Writing and saving a XML file? Pin
sanyexian14-Oct-10 21:17
sanyexian14-Oct-10 21:17 
QuestionEquivalent code in access Pin
C#Coudou14-Oct-10 16:57
C#Coudou14-Oct-10 16:57 
AnswerRe: Equivalent code in access Pin
Estys15-Oct-10 2:51
Estys15-Oct-10 2:51 
AnswerRe: Equivalent code in access Pin
Simon_Whale15-Oct-10 3:03
Simon_Whale15-Oct-10 3:03 
GeneralRe: Equivalent code in access Pin
riced15-Oct-10 4:24
riced15-Oct-10 4:24 
QuestionVB.Net - Excel SaveAs box Pin
Central_IT13-Oct-10 4:56
Central_IT13-Oct-10 4:56 
AnswerRe: VB.Net - Excel SaveAs box Pin
phil.o13-Oct-10 5:02
professionalphil.o13-Oct-10 5:02 

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.