Hey all,
I understand this forum isn't really meant as a training ground for new programmers, but I can't find the answer to my question online or any of my textbooks so I figured a forum post was worth a shot. Any help is much appreciated.
My university teacher told the class to use the internet to find out the best method to make our code. Just mentioning this so that people don't think i'm trying to cut short my work ;) .
Basically I need to make a program that allows the user to select one of a set of DOS commands from a ComboBox, and then displays the output in an RichTextBox. My problem is that I don't know how to run dos commands through VB .NET.
For example, Lets say the user desires to run the dir command. The program should then display the contents of the directory inside the TextBox. From what I've managed to find online, I'm supposed to use the 'Process' Class to do this, but i've no idea how.
If anyone could give me an idea of what to do I'd really appreciate it, thanks.