[COLOR="green"]' making a Point is complicated because the only constructor
' implemented in the Compact Framework takes two parameters[/COLOR]
Obj1.New1(False) [COLOR="green"]' an Object[/COLOR]
Args1.New1(2) [COLOR="green"]' an ObjectArray[/COLOR]
Args1.SetValue(0, 0, "System.Int32")[COLOR="green"] ' X[/COLOR]
Args1.SetValue(1, 0, "System.Int32") [COLOR="green"]' Y[/COLOR]
Obj1.CreateNew2("System.Drawing.Point" & Obj1.System_Drawing, Args1.Value)
[COLOR="green"]' once its created we can alter its properties if we need to [/COLOR]
Obj1.SetProperty("X", 23)
Obj1.SetProperty("Y", 46)
[COLOR="Green"]' We can look what it is[/COLOR]
Msgbox(Obj1.RunMethod("ToString"))