Click here to Skip to main content
15,914,010 members
Home / Discussions / C#
   

C#

 
AnswerRe: Giving read,write access to a file Pin
originSH1-Jun-07 6:27
originSH1-Jun-07 6:27 
GeneralRe: Giving read,write access to a file Pin
xbiplav1-Jun-07 6:39
xbiplav1-Jun-07 6:39 
GeneralRe: Giving read,write access to a file Pin
Dave Kreskowiak1-Jun-07 6:49
mveDave Kreskowiak1-Jun-07 6:49 
AnswerRe: Giving read,write access to a file Pin
kubben1-Jun-07 7:20
kubben1-Jun-07 7:20 
QuestionString.LastIndexOf(string character, int startIndex, int count) BUG ??? Pin
Stevo Z1-Jun-07 5:13
Stevo Z1-Jun-07 5:13 
AnswerRe: String.LastIndexOf(string character, int startIndex, int count) BUG ??? Pin
codemagus1-Jun-07 5:15
codemagus1-Jun-07 5:15 
GeneralRe: String.LastIndexOf(string character, int startIndex, int count) BUG ??? Pin
Stevo Z1-Jun-07 5:18
Stevo Z1-Jun-07 5:18 
GeneralRe: String.LastIndexOf(string character, int startIndex, int count) BUG ??? Pin
codemagus1-Jun-07 5:29
codemagus1-Jun-07 5:29 
Just one more question:

Is it this call that is actually crashing or is it possible that this is returning a -1 (because string is not found) to a function where -1 is out of range?

EDIT:

From MSDN:

ArgumentOutOfRangeException:


count or startIndex is negative.

-or-

startIndex minus count specify a position that is not within this instance.
AnswerRe: String.LastIndexOf(string character, int startIndex, int count) BUG ??? Pin
Colin Angus Mackay1-Jun-07 5:50
Colin Angus Mackay1-Jun-07 5:50 
AnswerRe: String.LastIndexOf(string character, int startIndex, int count) BUG ??? Pin
Hesham Yassin6-Jun-07 8:42
Hesham Yassin6-Jun-07 8:42 
QuestionDisplay label over tab control Pin
codemagus1-Jun-07 5:12
codemagus1-Jun-07 5:12 
QuestionHow to record the player move Pin
haroon19801-Jun-07 5:10
haroon19801-Jun-07 5:10 
QuestionHow can I add template directories in a window application? Pin
Soulprovider1-Jun-07 4:52
Soulprovider1-Jun-07 4:52 
QuestionProblem with DataGridView sorting Pin
yrtti1-Jun-07 4:44
yrtti1-Jun-07 4:44 
AnswerRe: Problem with DataGridView sorting Pin
blakey4041-Jun-07 5:08
blakey4041-Jun-07 5:08 
GeneralRe: Problem with DataGridView sorting Pin
yrtti1-Jun-07 5:59
yrtti1-Jun-07 5:59 
QuestionDynamic webcontrols in winforms Pin
Krishnamenon1-Jun-07 3:52
Krishnamenon1-Jun-07 3:52 
AnswerRe: Dynamic webcontrols in winforms Pin
mikker_1232-Jun-07 16:58
mikker_1232-Jun-07 16:58 
Questionconverting into float upto 2 decimal place Pin
monuSaini1-Jun-07 3:47
monuSaini1-Jun-07 3:47 
AnswerRe: converting into float upto 2 decimal place Pin
originSH1-Jun-07 6:05
originSH1-Jun-07 6:05 
QuestionReplacing gridview control coloum data at runtime Pin
Farhan Ali1-Jun-07 3:07
Farhan Ali1-Jun-07 3:07 
AnswerRe: Replacing gridview control coloum data at runtime Pin
Not Active1-Jun-07 5:36
mentorNot Active1-Jun-07 5:36 
QuestionCollection Defination Pin
Rahul831-Jun-07 3:03
Rahul831-Jun-07 3:03 
AnswerRe: Collection Defination Pin
Giorgi Dalakishvili1-Jun-07 3:10
mentorGiorgi Dalakishvili1-Jun-07 3:10 
AnswerRe: Collection Defination Pin
Colin Angus Mackay1-Jun-07 3:36
Colin Angus Mackay1-Jun-07 3:36 

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.