Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
VBScript for NET SEND command
Name: brian32 Date: July 13, 2005 at 19:55:54 Pacific OS: Windows XP
Comment:
Hi. In Windows XP, I want to create a user interface in VBScript that compliments the NET SEND command. This is what I have so far:
Set objShell = Wscript.CreateObject("WScript.Shell") Comp2Reach = InputBox("Enter in Computer name.") Message2Send = InputBox("Type your message.") objShell.Run "net send " & Comp2Reach & " " & Message2Send
This works, except I want to have two text boxes on the same interface. Is this possible?
Also, is there a way to use allow the user to input multiple computer names to send the same message?
Either question answered would be a big help, especially the one about the two text boxes on the same interface. Thanks.
Name: andys2003 Date: July 14, 2005 at 01:05:32 Pacific
Reply:
Hi. WScript doesn't have any form for user interface. There is no way to place 2 inputboxes on same "interface". Alternate solution - just input command line parameters for "NET SEND".
Summary: I've created a user interface in VBScript that compliments the NET SEND command in Windows XP. It allows the user to input any number of computer names seperated by a comma (,), then input the message...
Summary: Hey Homers, what error message do you get? What is the input for your net send command ? Don“t freak out until you know the facts...Relax...!...
Summary: I have a question. Say I'm using net send to converse with my friends at work over a lan network (which our registers are on, i believe). Are the messages themselves or the time, destination or sour...