Solved

How do I send everyone a message in network

Posted on 1998-03-12
4
133 Views
Last Modified: 2011-10-03
Can anybody help me with my problem :

I would like to send everyone connected on the (local) network a message ! (example : "HELLO" or "GET OF THE
COMPUTER YOUR TIME IS UP " ..etc..)

Are there any commands to do it ?

I'm working on a program with INTERBASE engine.
Does interbase support any such command I could use from Delphi 2.0 (client /server)
0
Comment
Question by:odydj
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
d003303 earned 20 total points
ID: 1360445
Windows supports the LAN-Manager messaging system. If your system is running e.g. Client for Microsoft Networks you will be able to send messages.
The functions are

NetMessageBufferSend
NetMessageNameAdd
NetMessageNameDel
NetMessageNameEnum
NetMessageNameGetInfo

Have a look at them by pressing F1 in code editor when the cursor is in the function name.

Slash/d003303
0
 

Expert Comment

by:puppy
ID: 1360446
can you say me how yo use this functions?

0
 
LVL 4

Expert Comment

by:d003303
ID: 1360447
By the way, you can also send messages with "net send" on the command line. In a command prompt type "net help send" for more info. You could WinExec this command line with the SW_HIDE parameter.

Puppy, maybe this already works for you.

Slash/d003303
0
 

Author Comment

by:odydj
ID: 1360448
10x I'll try !!!!

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question