Jak „zdalnie” podłączyć się do Omnitrackera

Invoke your favorite VBA-capable application, such as Word97 or Excel97, and invoke the Visual Basic environment.

·Invoke the menu item ”Extras/References”, and make sure that the item ”OMNITRACKER (OT) Automation Interface” is checked. If this item does not appear in the list, then you should use the file browser dialog in order to add the file „OtAut.tlb” to the references list. The file „OtAut.tlb” can be found in the installation directory of OMNITRACKER.

·Create a new module, and enter the following text:

Public Sub Test()

Dim app As OtApplication

Dim sess As OtSession

Dim usr As OtUser

Set app = CreateObject(„OtAut.OtApplication”)

Set sess = app.MakeSession(„hostname”, 4567, „superuser”, „password”)

      End Sub

·Replace ”hostname” by the name of the OMNITRACKER server host. Replace 4567 by the server’s port number. Replace ”superuser” by the login name of the superuser. Replace ”password” by the superuser’s password.

·Position the cursor in the first line of the module, and press the ”>” button in order to run the subroutine ”Test”.





then Omnitracker is using Windows login.

Dodaj komentarz

Twój adres email nie zostanie opublikowany. Pola, których wypełnienie jest wymagane, są oznaczone symbolem *