Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Need some help on a very simple application.
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.