Ocx file

Hi, I am using a file AltiCtrl.ocx (AltiAgent phone system) in a form but I don’t get how to read its class.I’ve already register the ocx file using C:\Windows\SysWOW64\RegSvr32.exe (I am using Win 7 64 bit), when I insert the object in the form I can see the object with its properties, the sub CallNotify, Initialize and Terminate

This is the script:

Sub Callnotify(Source As Altictrl, Ulsessionid As Long, Ustatus As Integer, Szcallerid As String, Szcallername As String, Szcalldnis As String, Szworkgroup As String, Pszdatetime As String, Pszduration As String)

Dim workspace As New NotesUIWorkspace

Dim bstart As Boolean

Set uidoc = workspace.CurrentDocument

bstart = Source.StartAltiCtrl()

if( bstart ) then

Call uidoc.FieldSetText( “callerid”, Szcallerid)

Call uidoc.FieldSetText( “calldnis”, Szcalldnis)

end if

End Sub

but I don’t get any info.

I appreciate if anybody give an idea of how to use it.

Alek