Click here to Skip to main content
15,903,030 members
Home / Discussions / C#
   

C#

 
GeneralRe: About IE context Pin
Jason Xie5-Nov-04 13:42
Jason Xie5-Nov-04 13:42 
Generalstring methods Pin
John L. DeVito4-Nov-04 14:02
professionalJohn L. DeVito4-Nov-04 14:02 
GeneralRe: string methods Pin
Christian Graus4-Nov-04 14:18
protectorChristian Graus4-Nov-04 14:18 
GeneralRe: string methods Pin
Nick Parker4-Nov-04 15:11
protectorNick Parker4-Nov-04 15:11 
GeneralRe: string methods Pin
Grimolfr5-Nov-04 10:08
Grimolfr5-Nov-04 10:08 
Generalproblem in debugging,when theres DLLs Pin
gijoebijoe4-Nov-04 12:18
gijoebijoe4-Nov-04 12:18 
GeneralRe: problem in debugging,when theres DLLs Pin
sreejith ss nair4-Nov-04 17:16
sreejith ss nair4-Nov-04 17:16 
GeneralRe: problem in debugging,when theres DLLs Pin
turbochimp5-Nov-04 8:50
turbochimp5-Nov-04 8:50 
You may be able to step into the code of the separate DLL if the debug symbols are available for it.

Is the dll raising the exception written in managed code (C#, VB.Net etc)? If so, compile it in debug mode and reset the reference in the calling application. You should be able to then either set a breakpoint immediately before the call raising the exception and "step into" the code that's having trouble, or just set the debug feature to break into the debugger on all exceptions.

The previous poster was correct, however, the error you're seeing is because somewhere you've got code indexing past the end of an array/collection. This commonly happens for a couple of reasons:

1. Developer forgets that arrays are 0-based (so the index of the last element is Array.Length - 1)
2. The collection is being shortened (items are being removed) within the code while an iterative loop moves from lowest to highest index (e.g. 0-10). Since each removal essentially re-indexes the collection, eventually an index will be selected that is past the end of the array.

Hope this helps

The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’

GeneralGantt & Calendar control Pin
Jordi Corominas4-Nov-04 10:44
Jordi Corominas4-Nov-04 10:44 
GeneralRe: Gantt & Calendar control Pin
sreejith ss nair4-Nov-04 17:21
sreejith ss nair4-Nov-04 17:21 
GeneralRe: Gantt & Calendar control Pin
Jordi Corominas4-Nov-04 21:06
Jordi Corominas4-Nov-04 21:06 
GeneralRe: Gantt & Calendar control Pin
sreejith ss nair4-Nov-04 21:25
sreejith ss nair4-Nov-04 21:25 
GeneralRe: Gantt & Calendar control Pin
Stefan Troschuetz4-Nov-04 21:34
Stefan Troschuetz4-Nov-04 21:34 
GeneralRe: Gantt & Calendar control Pin
Jordi Corominas4-Nov-04 21:47
Jordi Corominas4-Nov-04 21:47 
GeneralRe: Gantt & Calendar control Pin
Anonymous5-Nov-04 12:50
Anonymous5-Nov-04 12:50 
GeneralFormat specifier Pin
Luis Alonso Ramos4-Nov-04 10:08
Luis Alonso Ramos4-Nov-04 10:08 
GeneralRe: Format specifier Pin
Stefan Troschuetz4-Nov-04 23:12
Stefan Troschuetz4-Nov-04 23:12 
GeneralRe: Format specifier - that won't do it. Pin
Luis Alonso Ramos5-Nov-04 5:33
Luis Alonso Ramos5-Nov-04 5:33 
GeneralOpenFileDialog - multiple extensions on filter Pin
benjymous4-Nov-04 10:08
benjymous4-Nov-04 10:08 
GeneralRe: OpenFileDialog - multiple extensions on filter Pin
benjymous4-Nov-04 10:41
benjymous4-Nov-04 10:41 
Generaltwo questions about propertrygrid Pin
AlanJones4-Nov-04 9:55
AlanJones4-Nov-04 9:55 
Generalusing windows messages Pin
sianatia4-Nov-04 7:02
sianatia4-Nov-04 7:02 
GeneralRe: using windows messages Pin
Dave Kreskowiak4-Nov-04 7:08
mveDave Kreskowiak4-Nov-04 7:08 
GeneralRe: using windows messages Pin
sianatia4-Nov-04 7:18
sianatia4-Nov-04 7:18 
GeneralRe: using windows messages Pin
Dave Kreskowiak4-Nov-04 8:17
mveDave Kreskowiak4-Nov-04 8:17 

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.