Chostdatamanager Methods; Currentdirectory(); Findfirst(Pattern, Name String) - Symantec PCANYWHERE - OLE AUTOMATION GUIDE V12.1 Manual

Ole automation guide
Table of Contents

Advertisement

CHostDataManager methods

CurrentDirectory()

FindFirst(Pattern, Name string)

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
The CHostDataManager methods provide the parameters and return values for
accessing and controlling CHostData objects.
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.
Table 2-33
CurrentDirectory() return value
Return value
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-34
FindFirst parameters
Parameter
Pattern as string
Description
The full path name of the current pcAnywhere data
directory
Description
File name pattern to filter object files (an asterisk [*] finds
all files in the current directory)
Visual Basic object definitions
CHostDataManager methods
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pcanywhere v12.1

Table of Contents