Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

net send instant messaging 1

Status
Not open for further replies.

OnLiner

Technical User
Dec 4, 2002
87
US
Hi all :)
not so long ago i found a thread that shows how to use the net send command in vb i believe which mocks an instant message program. I searched for it again but can't find it. Anyone know how I use the net send command in vb or macro? or know where that thread is?

Thanks!!
 
One way in VBA:
CreateObject("Scripting.FileSystemObject").Run "NET SEND * my message"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
what is the "Scripting.fileSystemObject" part mean?
I copy/pasted this into the code builder in access and got a debug error.
 
You need to set a reference to "Microsoft Scripting Runtime".

VBE > Tools > References

________________________________________________________
Zameer Abdulla
Help to find Missing people
Even a thief takes ten years to learn his trade.
 
thanks!,,, sorry still a bit confused i'm new at this...can you give an example?
 
In your vba code window.. (CTRL+G)

Tools > References

________________________________________________________
Zameer Abdulla
Help to find Missing people
Even a thief takes ten years to learn his trade.
 
ok so i set up a reference for microsoft script runtime, and put in this code for my buton..

CreateObject("Scripting.FileSystemObject").Run "NET SEND * HELLO THERE"

but I got a debug error. Please help?

Thanks in advance!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top