GetErrorString method
Description | Converts an error number to a readable string. |
Syntax | GetErrorString (ErrorCode As Long ) As StringErrorCode — Numeric code returned to the client application from the Data Access Server. This value is typically returned as a parameter when a server call is made or as a exception error when an invalid server operation occurs. |
Example | MyOPCGroup.AsyncRead lNumitems, arHandles, arErrors, lTransID For i = 1 To lNumitems If arErrors(i) > 0 Then txtStatus = MyOPCServer.GetErrorString(arErrors(i)) End If Next 'i |
Provide Feedback