[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: .NET xPLLib "feature"
Hi Ian,
> Myself and Jen are building an app and it struck us that we
> can't actually get the message type from the .net assembly -
> there doesn't seem to be a way to find out whether this is a
> stat, trig or cmnd message.. Which is a little odd!
>
> I have the source for 4.1 here, so I guess I could add the
> required public sub in easily, I'm just a little curious..
No need to mod the source - here's how you do it (in VB.NET):
(assuming X is an XplMsg object)
Select Case x.XPL_Msg(0).Section.ToLower()
Case "xpl-cmnd"
' Respond to command messages here
Case "xpl-trig"
' Respond to trigger messages here
Case "xpl-stat"
' Respond to status messages here
End Select
HTH, and apologies for the late reply!
John
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|