39
Visual Basic object definitions
CHostDataManager methods
RemoteDataManager.ChangeDirectory ("C:\dev\bin.w32\data")
MsgBox (RemoteDataManager.CurrentDirectory())
Set RemoteData = RemoteDataManager.CreateObject("test")
RemoteData.ConnectionType = "TCP/IP"
RemoteData.ComputerName = "Host1"
s = RemoteData.ConnectionType
MsgBox (s)
s = RemoteData.ComputerName
MsgBox (s)
RemoteData.WriteObject (0)
End Sub
CHostDataManager methods
The CHostDataManager methods provide the parameters and return values for
accessing and controlling CHostData objects.
CurrentDirectory()
Returns the full path name of the current directory in which pcAnywhere host
objects are stored.
Table 2-33
defines the return value for CurrentDirectory.
FindFirst(Pattern, Name string)
Finds the first pcAnywhere host object file (*.bhf) in the current directory, based
on the specified file name pattern.
Table 2-34
defines the parameters for FindFirst.
Table 2-33
CurrentDirectory() return value
Return value
Description
String
The full path name of the current pcAnywhere data
directory
Table 2-34
FindFirst parameters
Parameter
Description
Pattern as string
File name pattern to filter object files (an asterisk [*] finds
all files in the current directory)
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 ...