Click here to Skip to main content
15,890,336 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Error Trying to connect to a database after restoring Pin
Eddy Vluggen23-Jun-14 7:12
professionalEddy Vluggen23-Jun-14 7:12 
GeneralRe: Error Trying to connect to a database after restoring Pin
dilkonika23-Jun-14 8:24
dilkonika23-Jun-14 8:24 
GeneralRe: Error Trying to connect to a database after restoring Pin
Eddy Vluggen25-Jun-14 8:15
professionalEddy Vluggen25-Jun-14 8:15 
QuestionWhy does this Array.FindIndex for case insensitive return 2 not 0 Pin
QuickBooksDev21-Jun-14 4:15
QuickBooksDev21-Jun-14 4:15 
AnswerRe: Why does this Array.FindIndex for case insensitive return 2 not 0 Pin
Dave Kreskowiak21-Jun-14 5:38
mveDave Kreskowiak21-Jun-14 5:38 
GeneralRe: Why does this Array.FindIndex for case insensitive return 2 not 0 Pin
QuickBooksDev22-Jun-14 1:14
QuickBooksDev22-Jun-14 1:14 
GeneralRe: Why does this Array.FindIndex for case insensitive return 2 not 0 Pin
Dave Kreskowiak22-Jun-14 5:18
mveDave Kreskowiak22-Jun-14 5:18 
SuggestionRe: Why does this Array.FindIndex for case insensitive return 2 not 0 Pin
Richard Deeming23-Jun-14 2:16
mveRichard Deeming23-Jun-14 2:16 
Dave Kreskowiak wrote:
Zero if it's not found (False), a value greater than 0 if it is found (True) and -1 if it is NOT found (True!).

In other words, "if it's not found it returns 0, but if it's not found it returns -1".

Well, that's not going to confuse matters at all! Poke tongue | ;-P

If the sub-string is not found, it returns -1; if it is found, it returns the zero-based index at which it was found. It the sub-string is found at the start of the string, it returns zero.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Why does this Array.FindIndex for case insensitive return 2 not 0 Pin
Dave Kreskowiak23-Jun-14 2:42
mveDave Kreskowiak23-Jun-14 2:42 
GeneralRe: Why does this Array.FindIndex for case insensitive return 2 not 0 Pin
Richard Deeming23-Jun-14 11:09
mveRichard Deeming23-Jun-14 11:09 
GeneralRe: Why does this Array.FindIndex for case insensitive return 2 not 0 Pin
Dave Kreskowiak23-Jun-14 11:16
mveDave Kreskowiak23-Jun-14 11:16 
QuestionIs there a TimeZoneInfo in VB.NET 2005 Pin
hansoctantan20-Jun-14 3:12
professionalhansoctantan20-Jun-14 3:12 
AnswerRe: Is there a TimeZoneInfo in VB.NET 2005 Pin
Richard Deeming20-Jun-14 4:00
mveRichard Deeming20-Jun-14 4:00 
QuestionRun Program from Within Folder Pin
Parament Technologies18-Jun-14 16:44
Parament Technologies18-Jun-14 16:44 
AnswerRe: Run Program from Within Folder Pin
Dave Kreskowiak18-Jun-14 17:32
mveDave Kreskowiak18-Jun-14 17:32 
GeneralRe: Run Program from Within Folder Pin
Parament Technologies18-Jun-14 17:45
Parament Technologies18-Jun-14 17:45 
GeneralRe: Run Program from Within Folder Pin
Dave Kreskowiak19-Jun-14 2:06
mveDave Kreskowiak19-Jun-14 2:06 
GeneralRe: Run Program from Within Folder Pin
Parament Technologies19-Jun-14 4:10
Parament Technologies19-Jun-14 4:10 
GeneralRe: Run Program from Within Folder Pin
Dave Kreskowiak19-Jun-14 4:30
mveDave Kreskowiak19-Jun-14 4:30 
GeneralRe: Run Program from Within Folder Pin
Parament Technologies19-Jun-14 5:59
Parament Technologies19-Jun-14 5:59 
GeneralRe: Run Program from Within Folder Pin
Dave Kreskowiak19-Jun-14 9:49
mveDave Kreskowiak19-Jun-14 9:49 
GeneralRe: Run Program from Within Folder Pin
Eddy Vluggen19-Jun-14 5:14
professionalEddy Vluggen19-Jun-14 5:14 
QuestionVB6 CommonDialog in WIndows 7 Pin
Liefie200017-Jun-14 6:11
Liefie200017-Jun-14 6:11 
AnswerRe: VB6 CommonDialog in WIndows 7 Pin
Eddy Vluggen17-Jun-14 7:30
professionalEddy Vluggen17-Jun-14 7:30 
GeneralRe: VB6 CommonDialog in WIndows 7 Pin
Liefie200017-Jun-14 8:08
Liefie200017-Jun-14 8:08 

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.