Property
Byte = <CRemoteData>.EncryptionLevel
Bool = <CRemoteData>.DenyLowerEncrypt
String = <CRemoteData>.AutoDomain
Visual Basic sample code for remote functionality
Table 2-32
CRemoteDataEx properties and return values
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 )
'retrieve remote data object
Set RemoteData = RemoteDataManager.RetrieveObjectEx("pod.CHF",
2, 0)
'display some properties
s = RemoteData.AreaCode()
Return
Description
value
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.
Visual Basic object definitions
CRemoteDataEx object
37