Visual Basic Sample Code For Remote Functionality - Symantec PCANYWHERE - OLE AUTOMATION GUIDE V 12.5 Manual

Hide thumbs Also See for PCANYWHERE - OLE AUTOMATION GUIDE V 12.5:
Table of Contents

Advertisement

32
Visual Basic object definitions
CRemoteDataEx object
Property
String = <CRemoteData>.PrivateKey
String = <CRemoteData>.CertificateName
Byte = <CRemoteData>.EncryptionLevel
Bool = <CRemoteData>.DenyLowerEncrypt
String = <CRemoteData>.AutoDomain

Visual Basic sample code for remote functionality

CRemoteDataEx properties and return values
Table 2-16
The following Visual Basic sample code retrieves a remote data object and modifies
its properties:
Private Sub Command1_Click()
Dim RemoteDataManager as Object
Dim RemoteData as Object
Dim s as string
'Create CRemoteDataManager object
Set RemoteDataManager = CreateObject(WINAWSVR.REMOTEDATAMANAGER)
'display and change current directory
s = RemoteDataManager.CurrentDirectory()
MsgBox ( s )
RemoteDataManager.ChangeDirectory ("C:\dev\bin.w32\data")
s = RemoteDataManager.CurrentDirectory()
MsgBox ( s )
Return value
Description
String
Returns the name of the currently active
private key container.
String
Returns the common name of the active
private key container.
Byte
Returns one of the following encryption
settings:
-1: None
0: pcAnywhere
1: Symmetric
2: Public key
Bool
Returns the value of the deny lower encryption
setting.
String
Returns the domain name setting for
automatic logins. This option is used with NT
authentication and Windows authentication.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ole automation

Table of Contents