I had one issue with VB.NET to C# conversion that I couldn’t solve. There’s a method passing in a parameter like this:
later on it does something like this:
So, it’s using late binding. I solved late binding issues elsewhere by using MyObject.GetType().InvokeMethod, but here I don’t know what to send as the “method name” argument.
Joe Schwarz
Custom Software Developer
Code:
public FormErrorCode SetFormProperties(object oFormPropCol)
later on it does something like this:
Code:
pFormProps.PropertiesUpdate(0, 0, pForm.ID, [COLOR=red]oFormPropCol(1).Name[/color], 0, oFormPropCol(1).Value, "", 0, lPropID);
So, it’s using late binding. I solved late binding issues elsewhere by using MyObject.GetType().InvokeMethod, but here I don’t know what to send as the “method name” argument.
Joe Schwarz
Custom Software Developer