Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Broadcast message - how to?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00770233
Message ID:
00770243
Views:
14
How about keeping track of who's logged into the application via a table somehow, then use the NETSEND command.
If you want to get really fancy..check this out.
www.sonork.com

>In my VFP 6.0 SP2 appliation, I have been using some third party APIs to sent Broadcast messages over the Novell network. The idea being that if someone wanted to communicate with all the other currently signed on users of the application, they could click on Broadcast Message from the menu, type in some text, and send. The other users would receive the message in a Novell messagebox. Now we have some sites with Win2000 servers. I would like to move away from the Novell APIs totally, but provide the same functionality.
>
>I first thought is to have the sender write their message and then write a text file to the server. A timer would look for the message every 30 seconds or so. When found it would format the text file message into a messagebox. I guess the sender would have to wait for a couple of minutes so that they would delete the text message on exit from the Broadcast Message form. I suppose that I would also have to have a built in check for any message text file > 3 minutes old would be deleted by the first user to FILE() it from the timer (safeguard for left over messages from system crash and such).
>
>Does anyone have a better idea or more refinement to my idea???
>
>Thanks
>
>Brenda
ICQ 10556 (ya), 254117
Previous
Reply
Map
View

Click here to load this message in the networking platform