Joe Domer

Joe Domer

  • NA
  • 3
  • 2.7k

Streaming data to C#-project through OLE-oject(file) from other SW

Sep 15 2011 6:53 AM
Hi,

I am using an IR camera and a special analyze software with the camera.

I want to stream data from the analyze software to a C#-project (Visual studio 2010) using OLE. OLE is the only way to  stream from this particular program and until yesterday I had never looked at OLE.


I have managed to stream data to Excel by typing:
=IRWinres.Session|'C:\Users\Klimator\Documents\FLIR\OLE-test.irs'!\max

into an Excel -cell. Where "OLE-test.irs" is a worksession file which apparelty contains the requested information. The file is not readble text but some binary mess.


Now I want to import the same data to a C# (studio 2010) project.
I have not been able to find a way to call this "OLE-test.irs" file and read the max (or any other) property and I really have no idea how to go about.


Any tips regarding this is mighty appreciated!

Thanks in advance!

Answers (3)