Technical Support ...... . . . ........... . . . ........... . . . ........... . . . ........... . . . ........... . . . ........... . . . .. 4
Chapter 1 Using OLE Automation with Symantec
pcAnywhere . . . ............ . . ........... . . . ........... . . . ........... . . . ........... 9
About OLE Automation ... . . . ........... . . ............ . . ............ . . ............ . . ...... 9
About the pcAnywhere Automation Server ..... . . . ........... . . . ........... . . . ... 10
What you can do with the pcAnywhere Automation Server . ............ . . ... 10
Before you start ............ . . . ........... . . . ........... . . . ........... . . ............ . . ..... 11
Automatically registering the remote engine ... . . . ........... . . . ........... 11
Manually registering the remote engine ......... . . . ........... . . . ........... 11
Accessing the pcAnywhere Automation Server .... . . ............ . . ........ 12
Accessing the pcAnywhere Automation Server with Visual
Basic .... . . ........... . . . ........... . . . ........... . . . ........... . . . ........... . . . .. 12
Accessing the pcAnywhere Automation Server with Visual
C++ ............ . . ............ . . ............ . . ............ . . ........... . . . ......... 13
Launching host and remote OLE objects .... . . ............ . . ............ . . ... 15
Where to find more information . . . . ........... . . . ........... . . . ........... . . . ....... 15
Chapter 2 Visual Basic object definitions ......... . . . ........... . . . ........... . . . . 17
About Visual Basic objects . ........... . . . ........... . . . ........... . . . ........... . . . .... 17
CRemoteDataManager methods ........... . . . ........... . . . ........... . . . ........... . 18
CRemoteData properties .......... . . ........... . . . ........... . . . ........... . . . .......... 21
Connection type properties .... . . . ........... . . . ........... . . . ........... . . ...... 23
Dialing properties .......... . . ............ . . ............ . . ............ . . ............ 25
COM device properties .......... . . ............ . . ............ . . ............ . . ...... 26
NetBIOS device properties ...... . . . ........... . . . ........... . . . ........... . . . .... 29
ISDN via CAPI 2.0 device properties ..... . . . ........... . . . ........... . . . ....... 30
CRemoteDataEx object .... . . . ........... . . . ........... . . . ........... . . . ........... . . . ... 31
Visual Basic sample code for remote functionality . . ............ . . ........ 32
CHostDataManager methods ............. . . ............ . . ............ . . ............ . . . 34
CHostData properties . ........... . . . ........... . . . ........... . . . ........... . . . .......... 36
Connection type properties .... . . . ........... . . . ........... . . . ........... . . ...... 38
AssignConnection(ConnectionType) method .. . . ............ . . ............ . 41
UnassignConnection(ConnectionType) method .......... . . ............ . . .. 41
Dialing properties .......... . . ............ . . ............ . . ............ . . ............ 42
Contents