Solved

How do I send everyone a message in network

Posted on 1998-03-12
4
132 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

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 I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
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…

810 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