accessing .net controls (OpenInsight 32-Bit)
At 23 MAY 2008 07:48:21AM Martin Drenovac wrote:
Guys - Mark is still recovering from the 14+ hour flight from the US, so he won't be in till Monday, and I've a free weekend.
Is there any sample code about on talking to a .net control.
And, I happen to we wading thru some old doco - "OLE automation with OI" - will this be updated to update the new .net features?
Cheers - TIA
At 23 MAY 2008 08:52AM Mike Ruane wrote:
Mark's probably picking bugs out of his teeth after his ride to the canyon.
The sample .Net code only works with the OpenInsight 9.0 release.
We'll review the OLE automation docs as well.
Thanks-
Mike
At 23 MAY 2008 08:57AM Warren Auyong wrote:
Is it v9.0 now instead of v8.1? Or is 9.0 following 8.1???
At 23 MAY 2008 09:17AM Bob Carten wrote:
The 9.0 functionality involves an wrapper control which uses .Net reflection to expose all of a controls methods and properties to OI.
It's a nice approach because it works for about any control.
Until 9.0, a way to talk to a specific .Net control is to make a small
VB.Net wrapper, include the Com.InterOp libraries and compile a dll. That dll is available to OI via the OLE commands. Not as useful as the 9.0 functionality but acceptable if you just want to use one control.
Other techniques:
- Embed the Microsoft Silverlight control in an OI form, then send XAML to it, run .Net GUI inside the OI form.
- Powershell is the .Net equivalent of the Windows Scripting host. You can create dynamic scripts which drive .Net objects, then run them will ShellExecute. For more interactive use you would need to create a COM accessible hosting object ( an RTI task, I suppose ), but at least start learning the syntax.
- Bob
At 23 MAY 2008 09:18AM [email protected]'s Don Bakke wrote:
Warren,
As per Mike at the conference, v9.0 is the new v8.1. It only made sense but bump up the version number given the degree of changes going into the product for this release.
At 23 MAY 2008 09:27AM Martin Drenovac wrote:
Bob - I absolutely love it when you talk dirty…
but XAML at 2 paces it is for now.
Thanks -
At 23 MAY 2008 09:32AM Warren Auyong wrote:
Ahh, ok, I thought he hadn't decided yet at the closing remarks.
At 23 MAY 2008 09:48AM John Bouley wrote:
Sorry I missed the closing remarks… but this is the first time I heard 8.1 will be 9.0.
It was nice to meet everyone by the way.
![]()
John
At 23 MAY 2008 11:08AM Bob Carten wrote:
but XAML at 2 paces it is for now.
Agree. With XAML it will take a while to reach fruition.
The initial effort should be just for play.