Windows Develop Bookmark and Share   
 index > Windows Forms General > Why this is not working? Method (Delegate, array<Object>[]()[])
 

Why this is not working? Method (Delegate, array<Object>[]()[])

I've a function with 2 parameters.

made delegate with 2 parameters

the following invoke gives me "The given key was not present in the dictionary" error, why?

Code Snippet

array<Object^>^oaargs= {sKey, sText};

this->Invoke(mydelegate, oaargs);

Why it is not working, seems alright to me.

Regards

TTK12  Saturday, April 19, 2008 12:51 AM

fixed it. it was working fine, but the function that it was calling had an unhandled exception.

TTK12  Saturday, April 19, 2008 6:30 AM

fixed it. it was working fine, but the function that it was calling had an unhandled exception.

TTK12  Saturday, April 19, 2008 6:30 AM

You can use google to search for other answers

Custom Search

More Threads

• multiselection in a datagrid
• Deleting DataSet records from underlying SQL Server using DataGridViewCheckBoxColumn in VS 2005
• Can't convert int into string from sql database to listbox!
• make opration with user classes
• Picture Box Resize
• flatscreen
• to change the index of tabpage
• numericUpDown Affecting Another numericUpDown
• Line numbers in datagridview column and datagridview column manual edit!
• ListView Problem