Computing.Net > Forums > Programming > VBScript for NET SEND command

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

Reply to Message Icon

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.




Sponsored Link
Ads by Google

Response Number 1
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".


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VBScript for NET SEND command

VBScript for Net Send www.computing.net/answers/programming/vbscript-for-net-send/13040.html

Using the net send command www.computing.net/answers/programming/using-the-net-send-command/16198.html

Net Send www.computing.net/answers/programming/net-send/8378.html