Intranet Text Messaging for VB 6.0..HELP!!

J

Thread Starter

John Kelley

Hi all. I've installed a new RSView32 setup (mostly for logging and data collection purposes and not as a HMI) on a clients network. It all works wonderfully well, and now they're asking for more....

They want to send pop-ups of unacknowledged alarms generated through RSView to a workstation client that will ensure that someone knows a tag is in alarm.

I've explored RSView Messenger, and it seems very capable at many things but unable to deliver pop-ups (only e-mails and voice stuff)... MY CLIENT WANTS POP-UPS.

Anyhow, I'm sure there should be an easy way to do this with Visual Basic either internal or external to a RSView project, but I've spent some time looking around and can't find a thing.

Any help would be appreciated.

Thanks,

John
 
If they are using NT or 2000 (and maybe even XP?), you can you use the NetMessageBufferSend function in the API "netapi32.dll". It's the same function that is used for 'Net Send'. The following link shows some sample code (just copy and paste the code from the FAQ "Send a message in a WinPopup format to a computer on the network" into a module).

http://www.vbcity.com/forums/faq.asp?fid=9&cat=Networking

I also have some sample code if you want it. Good Luck.

Todd
 
J

John Messinger

<p>John,

<p>In VB, you could use the following line of code to send a pop-up message, via the Messenger service:
<pre>
Dim retval as Double

retval = Shell("net send TARGET_HOST message_string")
</pre>
<p>Regards,

<p>John Messinger
 
Top