Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending & Receiving Winpopup Msgs

Status
Not open for further replies.

cradster

Programmer
Sep 9, 2000
7
GB
I need to write a Visual Basic Winpopup class (DLL), so that I can send and receive Winpopups from ASPs, VB Apps etc. My DLL must work with existing Winpopup users so writing a Winsock Server/Client program is no good. I don't want to use third party products. Could someone please tell me how I can Send/Receive winpopup messages.
 
Here 'ya go

Private Sub Command1_Click()
Dim t, m
t = Trim(Text2.Text)'message
m = Trim(Text1.Text)'computer name


Strval = "net send " & t & " " & m 'function to send
ExecuteVal = Shell(Strval) 'Shell
 
there isn't "net send ..." command in win9x, so it works only on NT/2000, it should work on XP and may work on ME
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top