1.

Solve : Running Dos Commands from VB.net?

Answer»

hey all,

I need to run loads of dos commands from within vb.net and display each line as it's run to a listbox.

I would also like a progress bar as well, and since i know the AMOUNT of dos commands it needs to run that shouldn't be so hard. (but I'll get to that later)

I'm very new to vb.net and I'd like to write it my self (a nice little project:p)

If SOMEONE could POINT me in the direction of loading a dos prompt and running the "net use \\ipaddress /user:username password" command which wait UNTILL it has finished to display the output to my listbox that would be very helpful.

cheers guys!
you are mapping network drives? VB.Net is a programming language, i am sure there are classes provided that does network drive mapping. A random search on google i found this . Calling a dos command like the way you described should be the last thing on your mind.Really!

VB can do that easy as DOS. PERHAPS easier!



Discussion

No Comment Found