Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture Net Send Error
Message
De
21/03/2003 17:46:19
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Capture Net Send Error
Divers
Thread ID:
00768827
Message ID:
00768827
Vues:
53
Hi,

Is there a way to determine whether a Net Send command reached its destination. I have the follwing code in a command button

LOCAL lcMessage, lcSendTo, lcRunFile
WITH THIS
lcMessage = ALLTRIM(.txtMessage.Value)
lcSendTo = ALLTRIM(nusers.cipaddr)
lcRunFile = "NET SEND" + " " + lcSendTo + " " + lcMessage

RUN /N7 &lcRunFile
ENDWITH
RELEASE lcMessage, lcSendTo, lcRunFile

When Net Send is successfull it gives a message that the message was sent succesfully, but how do you cature an unsuccesfull message transmission. For example when the user you are net sending is not logged on the network.

Any suggestions are appreciated.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform