VI.DB.ComponentModel.dll

We are using OI 8.1.4.

In OneIdentity.8.1.4\Modules\QBM\dvd\AddOn\SDK\Frontends\CustomApplications\DBConnect\DBConnect.sln is a Visual Studio Project where it says that you need to reference four dlls

'********************************************************************************
'*
'* Diese Beispiel demonstriert, wie mittels VI-Objekten eine Datenbankverbindung
'* hergestellt werden kann.
'*
'* Folgende DLL's muessen referenziert werden:
'* - VI.Base.dll
'* - VI.CommonDialogs.dll
'* - VI.DB.dll
'* - VI.DB.ComponentModel.dll
'*
'********************************************************************************

VI.DB.ComponentModel.dll is nowhere to find.

Do you have a clue where to find this file?

Regards,

Alexander

Parents
  • Hi Alexander,

    it seems that the sample itself is not correct.

    Workaround:

    1. Replace the reference to VI.VB.ComponentModel.dll with a reference to VI.Controls.dll

    2. Replace the code line

    pgObject.SelectedObject = New VI.DB.ComponentModel.SingleDbObjectContainer(dbObject)

    with

    pgObject.SelectedObject = New VI.Controls.PropertyGrid.SingleDbObjectContainer(dbObject)

    3. Change the target framework of the DBConnect project to .NET Framework 4.7.2

    Please be aware that if you start the application in Visual Studio, you may miss some of the customizers, depending on the selected objects. So, it helps to either copy the compiled application into an existing OneIM installation directory and start it there, or copy all *.customizer.dll files into the build directory.

    The result should then look like the following

Reply
  • Hi Alexander,

    it seems that the sample itself is not correct.

    Workaround:

    1. Replace the reference to VI.VB.ComponentModel.dll with a reference to VI.Controls.dll

    2. Replace the code line

    pgObject.SelectedObject = New VI.DB.ComponentModel.SingleDbObjectContainer(dbObject)

    with

    pgObject.SelectedObject = New VI.Controls.PropertyGrid.SingleDbObjectContainer(dbObject)

    3. Change the target framework of the DBConnect project to .NET Framework 4.7.2

    Please be aware that if you start the application in Visual Studio, you may miss some of the customizers, depending on the selected objects. So, it helps to either copy the compiled application into an existing OneIM installation directory and start it there, or copy all *.customizer.dll files into the build directory.

    The result should then look like the following

Children