Where is NetOI.dll after install (OpenInsight 32-bit)
At 26 JUL 2012 07:34:52AM George A Malushkin wrote:
I had decided to get a data from OI database through NetOI.dll and couldn't do it.
1. After install OI_93 or OI_931 we don't get this library (NetOI.dll) anywhere. But developers put folder with example where this lib is in Visual Studio project. Unfortuantely there is so old version (1.0) and it doesn't work in OI_93 or OI_931.
2. I tried to install OI_92 and oh, a miracle!!! In Program Files/Revelation I got folder "OpenInsight NetOI Class v2.0" where was NetOI.dll. I thought I closed a problem and can work next…. And oops! This lib could make connect to OI database only…. It couldn read and get any data. I always get empty tables.
Questions to developers of OI:
a) Where do lie NetOI in OI_93?
b) When do you tried to get data from OI through NetOI? If you could do it with OI_92 or OI_93 then would you show us this working code. (In your example "NetOIExampleForm" it not works)
Best regards, George
At 27 JUL 2012 10:17AM Jared Bratu wrote:
The NetOI.DLL no longer exists after 9.2.1 because the functions have been migrated into an existing library to reduce the number of DLL files distributed. If you add a reference to "C:\Program Files (x86)\Revelation Software\Revelation Software .NET Components v9.3.1\RevelationDotNet.dll" in your Visual Studio project you should have all latest the NetOI classes available.
If you do not have the RevelationDotNet.dll then please run the ClientSetup.exe
With the correct references to RevelationDotNet.dll and OpenInsight 9.3.1 install then this code should connect to the OEngineServer and allow you to access the data.
Imports Revelation.NetOI
Dim myConnect As New Server
myConnect.PersistentConnection = True
myConnect.StartUpFlags = 1
myConnect.OIConnect("localhost", "8088", "EXAMPLES", "EXAMPLES", "")
Please remove references to NetOI.dll from your project and add RevelationDotNet.dll instead.