How to use NET SEND Command from Form Click Event

I

Irshad Alam

I would like to send message to a particular IP Address the message at a
time, the details of my requirement is as below

My Form Name : SendMsgForm
Fields are :
ComboIPAd (combo box having the IP address to be send)
MsgForDel (Text box having the message to be send)
MsgDelConfirm : (Yes/No Field - should be ticked, if send)

JOBS I WANTED TO BE DONE IS :
Once the button is clicked on the form, the following to be done :

First check if my PC is connected to the network
If connected proceed and if not connected then cancel the event
During proceed it should collect the IP Address from combo and message from
text field
confirm by ticking the yes/no field if msg delivered.

Please advice me a code with some tips, as I am not very good in VBA.

Thanking you all in advance

Regards

Irshad






On Label Click Event
 
Top