Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send Message to Another PC
Message
De
09/05/2000 11:55:31
 
 
À
09/05/2000 09:06:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00367583
Message ID:
00367684
Vues:
21
Carmen,

>Is that possible to post the message to another Pc. For example: I have stock Program that is multiuser mode. There are two person login to the system.. One of person, he want an authorise password from the other one, So he send the invoice to him, Other PC, it should sound alert that waiting for him to give the password to authorise... It that possible to do it in VFP coding. If Yes, How? Coding given will be appreciated.. Thanks
>P.s Hope you understand my english..

Two ideas:

1) Computer 1 logs entry to a table and 2nd computer has a timer running that fires a check of that table for newly-arrived request every 15 seconds, 1 minute, whatever you need, and puts up an alert.

2) Computer 1 sends message to a MSMQ message queue with the details, and Computer 2 either checks the queue on a timer, or uses VFPCOM to bind to the queue's events to fire an alert when a message arrives in the queue.

For MSMQ ideas, see:
http://msdn.microsoft.com/library/default.asp?URL=/library/techart/msmqwvfp6.htm
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform