Guest User

Untitled

a guest
Feb 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. Insert the Presence Agent ActiveX control into the main form of the new application.
  2. The PresenceInterfaceX1 component provides access to the different properties, methods and
  3. events of the ActiveX control.
  4.  
  5. The application will also contain a module called mmMain. This is created from the Project ->
  6. Add Module option, and contains the following function:
  7.  
  8. Sub Main()
  9. ' Presence Agent activation
  10. frmInBoundDemo.PresenceInterfaceX1.Active
  11. 'Connection to services
  12. frmInBoundDemo.PresenceInterfaceX1.ConnectToService (2001)
  13. frmInBoundDemo.PresenceInterfaceX1.ConnectToService (2051)
  14. End Sub
Add Comment
Please, Sign In to add comment