| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
VBScript for NET SEND command
|
Original Message
|
Name: brian32
Date: July 13, 2005 at 19:55:54 Pacific
Subject: VBScript for NET SEND commandOS: 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.
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: andys2003
Date: July 14, 2005 at 01:05:32 Pacific
|
Reply: (edit)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".
Report Offensive Follow Up For Removal
|

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