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

C#

 
GeneralRe: About IE context Pin
IronSnake5-Nov-04 9:36
IronSnake5-Nov-04 9:36 
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 
hi,

your Wrote :'System.ArgumentOutOfRangeException' and 'ndex was out of range. Must be non-negative and less than the size of the collection' - > Please check your collection , whether you are not trying to access which is not there in the list.

You Wrote :Does this mean that the first exception occured in another class or DLL which is not related to my code?

Here you are assumption may correct. Try to use proper error handling methods in your .dlls. Otherwise try to throw exception to your base.

//code in dll file.

public void add()
try
{
//something
}
catch(Exception Ex)
{
throw Ex;
}

//code in your application.

try
{
dll_instance.Add();
}
catch(Exception Ex)
{
Messagebox.show(Ex.StachTrace.ToSting());
}

//Here you will get information from where error occures.



Sreejith Nair
[ My Articles ]
GeneralRe: problem in debugging,when theres DLLs Pin
turbochimp5-Nov-04 8:50
turbochimp5-Nov-04 8:50 
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 

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.