on 10-27-2017 8:54 AM
Hi all,
I have one problem of function (Invoke(x, New Object() {(text)})) which gives error message 'Invoke' is not a member of 'SysForm.SystemForm'. I think it does not work in SAP SDK,
Actually my codes look like this
Private Sub myserialport_DataReceived(sender As Object, e As SerialDataReceivedEventArgs) Handles myserialport.DataReceived
ReceivedText(myserialport.ReadExisting())
End Sub
Private Sub ReceivedText(ByVal [text] As String)
If Me.textbox1.InvokeRequired Then
Dim x As New SetTextCallBack(AddressOf ReceivedText)
Me.Invoke(x, New Object() {(text)})
Else
Me.texbox1.text &= [text]
End If
End Sub
The problem is in line of Me.Invoke(x, New Object() {(text)})
I will replace texbox1 with SAP field
How can I use Invoke() function in SAP B1 or which function can replace it in SAP B1 SDK?
Please anyone can help me
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.