Table 2-2
CRemoteDataManager methods (continued)
Description
Parameter or return
value
CRemoteDataManager
method
Finds the first pcAnywhere remote
object file (*.chf) in the current
directory; file name pattern filters
based on the specified file name
pattern (an asterisk [*] finds all files
in the current directory)
Parameter = Pattern as
string
FindFirst(Pattern)
Return buffer for the full path name
of the remote object file (*chf) that
matches the specified pattern
Parameter = Name as
string
FindFirst(Name string)
Return buffer for the full path name
of the remote object file that
matches the pattern that is specified
in the original call to FindFirst()
Parameter = Name as
string
FindNext(Name)
TRUE if another remote object file
that matches the pattern that is
specified in the call to FindFirst() is
found. The full path name of the
matching file is stored in Name
Return value = Boolean
FindNext(Name)
The fully qualified remote object file
name to be loaded
Parameter = Name as
string
RetrieveObject(Name)
Specifies how this object is to be
used. This relates to the password
protection
The options are as follows:
■
0 = Not specified
■
1 = View only
■
2 = View and Modify
■
3 = Execute
Parameter =
AccessMode as integer
RetrieveObject(AccessMode)
Object password. May be NULL
Parameter = Password
as string
RetrieveObject(Password)
The fully qualified remote object file
name to be loaded
Parameter = Name as
string
RetrieveObjectEx(Name)
19
Visual Basic object definitions
CRemoteDataManager methods