Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to message between 2 running VFP EXEs on same PC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00896846
Message ID:
00896976
Vues:
21
>>Does anyone know if there is a way to have one VFP 6 or 8 EXE send a message to another VFP app running on the same PC? I have a standard business applicaton and am adding a seperate VFP communications app that will communicate across the internet. They have to be seperate EXEs because the communication app has to be able to switch between multiple data sets. If I just set a flag in a table or whatever then the 2nd app has to constantly monitor it off a timer. Any and all ideas are welcome.
>>
>>TIA
>
>You can do it with timers, but IMHO, what you need here is the event raising. Check out my article "Raise Events from your Applications" in February 2001 FoxPro Advisor if you have it. I had a session on that at San Diego DevCon 2001 and one of the samples was Visual FoxPro Instant Messenger which does just what you describe.

Nick,
I do not subscribe to the FoxPro Advisor so I don't have access to the code and I assume the work is under contract so you can't just give it to me. However, I just purchased the "MegaFox:" book from Hentzenwerke Publishing (I can't recommend it enough) and they give an example of using the WinSoc ActiveX and UDP. It looks simple enough. Do you think this would work?
Yes, the Instant Messenger sounds really great. Is that avalable anywhere?
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform