
Sending 'popup messages' from VB6
<Does anybody out there know off-hand how to send the little
<popup messages (net send <pc> message) from VB6
<without calling up a DOS prompt?
<
<I'd appreciate any advice or pointers in the right direction!
Hi Jon,
One way would be to use the attached .tlb file.
Just set a reference to it from VB. This works from
VB4. Should work from VB6. The usage is:
Dim strPC As String
Dim strMsg As String
strPC = "MyPC" 'the name of the recipient
strMsg = "This is a test." 'the message
Call NetMessageBufferSend(0&, strPC, 0&, strMsg, _
buflen:=LenB(strMsg))
HTH
--
Paul Marshall