38 Visual Basic object definitions
CRemoteDataEx object
MsgBox (s)
s = RemoteData.PhoneNumber()
MsgBox (s)
'set some properties
RemoteData.AreaCode = "212"
RemoteData.PhoneNumber = "555-5555"
'write object to disk
RemoteData.WriteObject (0)
End Sub
Use the FindFirst and FindNext methods to display the remote file in a directory
as follows:
Private Sub Command5_Click()
Dim RemoteDataManager as Object
Dim RemoteData as Object
Dim s as string
Set RemoteDataManager =
CreateObject("WINAWSVR.REMOTEDATAMANAGER")
RemoteDataManager.ChangeDirectory
("C:\dev\bin.w32\data")
RemoteDataManager.FindFirst "*", s
MsgBox (s)
RemoteDataManager.FindNext s
MsgBox (s)
End Sub
Create a remote object. Set the connection type to TCP/IP and the computer
name “Host1,” and then launch it as follows:
Private Sub Command6_Click()
Dim RemoteDataManager as Object
Dim RemoteData as Object
Dim s as string
Set RemoteDataManager =
CreateObject("WINAWSVR.REMOTEDATAMANAGER")
MsgBox (RemoteDataManager.CurrentDirectory())
Summary of Contents for PCANYWHERE - OLE AUTOMATION GUIDE V12.1
Page 1: ...Symantec pcAnywhere OLE Automation Guide ...
Page 6: ......
Page 18: ...18 Using OLE Automation with Symantec pcAnywhere Where to find more information ...
Page 68: ...68 Visual Basic object definitions Awrem32 functions ...
Page 108: ...108 Visual C object definitions Awrem32 functions ...
Page 112: ...112 Index ...