Search found 3 matches
- Wed Mar 16, 2011 8:51 pm
- Forum: Automation API
- Topic: Receiving SerializationException using InvokeRemotely
- Replies: 5
- Views: 3168
Re: Receiving SerializationException using InvokeRemotely
I've modified the code to use a static method instead of the anonymous delegate: public static string[,] GetCellValues(System.Windows.Forms.Control control, object input) { StandardSpreadsheetControl ssc = (StandardSpreadsheetControl)control; FarPoint.Win.Spread.SheetView sv = ssc.ActiveSheet; strin...
- Tue Mar 15, 2011 6:04 pm
- Forum: Automation API
- Topic: Receiving SerializationException using InvokeRemotely
- Replies: 5
- Views: 3168
Re: Receiving SerializationException using InvokeRemotely
Yes, I have tried returning a different data type from the delegate. Even the following code results in the same exact error: Ranorex.Control spread = new Ranorex.Control(spreadControl.Element); bool returnVal = (bool)spread.InvokeRemotely( delegate(System.Windows.Forms.Control control, object input...
- Tue Mar 15, 2011 3:05 pm
- Forum: Automation API
- Topic: Receiving SerializationException using InvokeRemotely
- Replies: 5
- Views: 3168
Receiving SerializationException using InvokeRemotely
I'm attempting to interact with a third party control (FarPoint Spread) by using the InvokeRemotely method. I've used the following blog post as a guideline for writing this code: http://www.ranorex.com/blog/transfering-data-to-and-from-a-net-control The FarPoint Spread is an Excel-like spreadsheet ...