Sending text as popup message
-
Hi, can anybody let me know how to send a text just like popup message to another system(by selecting the username from dropdown box) in LAN through program. thanx in advance Thomas. ThomasKennedyBose
older applications like PopUp utility on Win95 use mailslots (Popup creates mailslot named "messngr", and periodically checks if there are new messages in mailslot. when sending messages, it simply writes to messngr mailslot on another machine) you can also use messenger service on Win2K and later, but i never used that, so i can't go into details (this is what is used when you issue a command like "net send <machine> hi" at command prompt).
-
I don't know special api-calls for this ... but maybe you can use the Windows command "net send" ??? (translated from a german windows ...)
NET SEND {Name|*|/DOMAIN[:Name]|/USERS} Message
Example:NET SEND ThomasBoseKenn "Do you need further help ?"
cr97thanx...but it should be done through programatically...slect an user name from the dropdown box which displays all the users in one domain,when we click on "Send" button ,string in the edit box should be sent to that user just like a winpopup message(just like NET SEND cr97 "Ya..I need your help?" command works).... BR Thomas ThomasKennedyBose
-
thanx...but it should be done through programatically...slect an user name from the dropdown box which displays all the users in one domain,when we click on "Send" button ,string in the edit box should be sent to that user just like a winpopup message(just like NET SEND cr97 "Ya..I need your help?" command works).... BR Thomas ThomasKennedyBose
And why don't you make a dialog, where the you can select the text and the user ??? And after pressing "SEND" you concatenate all the strings like
strCall = "NET SEND "+strUserName+" \""+strMessage+"\"";
then you can execute "strCall" ... is it a solution for you ? cr97 P.S. Sprichst du deutsch ? -
And why don't you make a dialog, where the you can select the text and the user ??? And after pressing "SEND" you concatenate all the strings like
strCall = "NET SEND "+strUserName+" \""+strMessage+"\"";
then you can execute "strCall" ... is it a solution for you ? cr97 P.S. Sprichst du deutsch ?ya....I have already done that code.....any how I don't leave you :-)..now you tell me how to get the machine name(like "\\mdpworkstn64")by selecting the username....any APIs?? BR Thomas ThomasKennedyBose
-
ya....I have already done that code.....any how I don't leave you :-)..now you tell me how to get the machine name(like "\\mdpworkstn64")by selecting the username....any APIs?? BR Thomas ThomasKennedyBose
-
ok ..ok ....sorry for that scenario...actually what I want is I will give the machine number(or name like //mdpwksrnd64)and I want to get the user name who has logged in to that machine...is it possible?? ThomasKennedyBose
-
ok ..ok ....sorry for that scenario...actually what I want is I will give the machine number(or name like //mdpwksrnd64)and I want to get the user name who has logged in to that machine...is it possible?? ThomasKennedyBose
-
At moment i don't know if this s possible but i think so ... why do you wanna know who is logged in at a special machine ??? cr97
suppose I want to send personal message to my friend who is supposed to be on that machine...but unfortunately some other person logs in....!!!!in that case first I will check for the logged in user by giving the machine name....hope you can understand the situation..:-) ThomasKennedyBose
-
suppose I want to send personal message to my friend who is supposed to be on that machine...but unfortunately some other person logs in....!!!!in that case first I will check for the logged in user by giving the machine name....hope you can understand the situation..:-) ThomasKennedyBose
You can try to send the message to the user ...
NET SEND bob "Hi ... are you online ?"
This sends the message not to a machine but to a user in the network ! In this case it doesn't matter on which machine "bob" is logged in. Try it at the DOS-Prompt ... cr97 -
You can try to send the message to the user ...
NET SEND bob "Hi ... are you online ?"
This sends the message not to a machine but to a user in the network ! In this case it doesn't matter on which machine "bob" is logged in. Try it at the DOS-Prompt ... cr97:-))))))) ok ....leave this scenario...I just want to know who has logged in on a perticular machine(I know the machine name)....then how it is possible through program?? ThomasKennedyBose
-
:-))))))) ok ....leave this scenario...I just want to know who has logged in on a perticular machine(I know the machine name)....then how it is possible through program?? ThomasKennedyBose