|
-
May 18th, 2007, 03:46 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Execute command prompt commands within VB
Hi all,
I would like to make a program in which I need to execute commands from the command prompt. Basically, I would like to utilize net send to make a small (basic) messaging client, using the net send function. It would basically provide a friendly graphical interface for net send, for normal users to use (rather than having to type in cryptic commands at a command prompt).
http://www.arbital24.com/Pics/IMess.JPG
That is a basic idea of what I want to do. The "send message to" combo-box will either be a pre-defined list, a text box for the user to enter themselves, or best of all (if possible), an enumerated list of local network device names, generated on program launch or dynamically.
The "Message" box will of course be the message text. The idea is that the users inputs the data, and the program uses a "net send <var1> <var2>", where var1 and var2 will of course be the user and message box texts, copied into variablesa, respectively.
Basically, I need to know how to generate command prompt commands from within VB, if it is possible. Also, if anyone known how to enumerate locally network connected stations within VB, that would be great too .
Thanks,
Arby.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|