Awrem32 functions
awConnect(FileName)
RemoteData. HostData = "555-5555"
'write object to disk
HostData.WriteObject (0)
End Sub
Use the FindFirst and FindNext methods to display the host file in a directory as
follows:
Private Sub Command5_Click()
Dim HostDataManager as Object
Dim HostData as Object
Dim s as string
Set HostDataManager = CreateObject("WINAWSVR.BEHOSTDATAMANAGER")
HostDataManager.ChangeDirectory ("C:\dev\bin.w32\data")
HostDataManager.FindFirst "*", s
MsgBox (s)
HostDataManager.FindNext s
MsgBox (s)
End Sub
The Awrem32 functions provide the parameters and return values for handling
connections between the host and remote computers.
Creates the connection to the host computer.
Table 2-68
defines the awConnect parameter.
Table 2-68
awConnect parameter
Parameter
Name as string
Description
The fully qualified .chf file name that contains information
about the host computer
Visual Basic object definitions
Awrem32 functions
63