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”.

Warning!

If

username=””

password=””

then Omnitracker is using Windows login.

1 myśl na “Jak „zdalnie” podłączyć się do Omnitrackera

  1. Hola! I’ѵe Ьeen following your blog for a long time now ɑnd finally
    got the braνery to go ahead and give you a shout out from Portеr Tx!

    Juѕt wanted to tell you keep up the great job!

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany.