B
bebek_tetangga
The following code is provided by cwbx.hlp for VBA. Does anyone have
the same declaration statements for C#? I'm interested in the
equivalent of the dlr.Query.Select VBA statement in particular. C#
prevents me from using IcwbxDatabaseQuerySettings (abstract class) and
DatabaseQuerySettings (protected)... Thanks!!!
Dim systemNames As New cwbx.systemNames
Dim dt As New cwbx.DatabaseTransfer
Dim as400 As New cwbx.AS400System
Dim dlr As New cwbx.DatabaseDownloadRequest
as400.Define systemNames.DefaultSystem
Set dlr.System = as400
dlr.AS400File = "qiws/qcustcdt"
dlr.pcFile = "c:\qcustlst.txt"
dlr.Query.Select = "LSTNAM"
dlr.SaveRequest "c:\qcustlst.dtf"
dt.UserID = "me"
dt.Password = "secret"
dt.Transfer "c:\qcustlst.dtf"
dt.UserID = ""
dt.Password = ""
dt.Transfer "c:\qcustlst.dtf"
the same declaration statements for C#? I'm interested in the
equivalent of the dlr.Query.Select VBA statement in particular. C#
prevents me from using IcwbxDatabaseQuerySettings (abstract class) and
DatabaseQuerySettings (protected)... Thanks!!!
Dim systemNames As New cwbx.systemNames
Dim dt As New cwbx.DatabaseTransfer
Dim as400 As New cwbx.AS400System
Dim dlr As New cwbx.DatabaseDownloadRequest
as400.Define systemNames.DefaultSystem
Set dlr.System = as400
dlr.AS400File = "qiws/qcustcdt"
dlr.pcFile = "c:\qcustlst.txt"
dlr.Query.Select = "LSTNAM"
dlr.SaveRequest "c:\qcustlst.dtf"
dt.UserID = "me"
dt.Password = "secret"
dt.Transfer "c:\qcustlst.dtf"
dt.UserID = ""
dt.Password = ""
dt.Transfer "c:\qcustlst.dtf"