12.0
Table Of Contents
- Symantec pcAnywhere™ OLE Automation Guide
- Technical Support
- Contents
- 1. Using OLE Automation with Symantec pcAnywhere
- 2. Visual Basic object definitions
- 3. Visual C++ object definitions
- About Visual C++ objects
- CRemoteDataManager methods
- BSTR CurrentDirectory();
- BOOL ChangeDirectory(LPCTSTR lpszNewDirectory);
- BOOL FindFirst(LPCTSTR lpszPattern, BSTR FAR* pbstrFullQualName);
- BOOL FindNext(BSTR FAR* pbstrFullQualName);
- LPDISPATCH RetrieveObject(LPCTSTR lpszFQName, short wAccessMode, LPCTSTR lpszPassword);
- LPDISPATCH RetrieveObjectEx(LPCTSTR lpszFQName, short wAccessMode, LPCTSTR lpszPassword);
- LPDISPATCH CreateObject(LPCTSTR lpszFQName);
- LPDISPATCH CreateObjectEx(LPCTSTR lpszFQName);
- BOOL DeleteObject(LPCTSTR lpszFQName, LPCTSTR lpszPassword);
- BOOL Launch(LPCTSTR lpszFQName);
- CRemoteData object
- CRemoteDataEx object
- CHostDataManager methods
- BSTR CurrentDirectory();
- BOOL ChangeDirectory(LPCTSTR lpszNewDirectory);
- BOOL FindFirst(LPCTSTR lpszPattern, BSTR FAR* pbstrFullQualName);
- BOOL FindNext(BSTR FAR* pbstrFullQualName);
- LPDISPATCH RetrieveObject(LPCTSTR lpszFQName, short wAccessMode, LPCTSTR lpszPassword);
- LPDISPATCH RetrieveObjectEx(LPCTSTR lpszFQName, short wAccessMode, LPCTSTR lpszPassword);
- LPDISPATCH CreateObject(LPCTSTR lpszName);
- LPDISPATCH CreateObjectEx(LPCTSTR lpszName);
- BOOL DeleteObject(LPCTSTR lpszFQName, LPCTSTR lpszPassword);
- BOOL Launch(LPCTSTR lpszFQName);
- CHostData object
- CHostDataEx object
- Awrem32 functions
- Index
29Visual Basic object definitions
CRemoteData properties
Table 2-22 defines the connection type properties and return values. Replace the
information in angle brackets with the actual values.
Table 2-22 Connection type properties and return values
Property Return
value
Description
String = <CRemoteData>.ConnectionTypes String Returns the connection type of the
remote object.
Integer = <CRemoteData>.ConnectionType Integer Returns the number of available
connection types.
The following are examples of valid
connection types:
■ COM1
■ COM2
■ COM3
■ COM4
■ LPT1
■ LPT2
■ LPT3
■ LPT4
■ TCP/IP
■ SPX
■ NetBIOS
■ Infrared
■ ISDN via CAPI 2.0
■ Modem name (as it appears on the
computer)
String = <CRemoteData>.FirstConnectionType String Returns the first available connection
type.
String = <CRemoteData>.NextConnectionType String Returns the next available connection
type. This is called sequentially for the
number of connection types that is set
in <CRemoteData>.ConnectionType to
enumerate all connection types.
Bool =
<CRemoteData>.FindConnectionType(ConnectionType)
Bool Returns TRUE if the named connection
type is found in the list of available
connection types.










