Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

TERMINAL EMULATOR

Hi Guys,

I am building my school project and I was asked to build a command prompt, but I got it to this level on my vb program, but it does not change directory nor open an application, which is the basic reason why I was asked to create this program, below are the code and interface.

1.
[Image: jGqRzZ2.jpg]


2.

[Image: LNiPoln.jpg]


3.

[Image: m12GPWh.jpg]


4. and this is the output

[Image: L6nbTrN.jpg]

I will appreciate you knowledge on this.

Thanks in advance.

🤝
So there's a ton of things that could be done better here, the first would be that you should stay away from timers unless absolutely necessary. Why are you looping to check the status of the combobox when you could just handle the event for when the selected index is changing? And even more so instead of using Select Case, why not use [Enum].Parse()? Another thing is what if the user's main drive isn't C:\? And in this scenario I would recommend using Tasks over Threads
(Jul 28, 2016 03:39 PM)taktaktak Wrote:  So there's a ton of things that could be done better here, the first would be that you should stay away from timers unless absolutely necessary. Why are you looping to check the status of the combobox when you could just handle the event for when the selected index is changing? And even more so instead of using Select Case, why not use [Enum].Parse()? Another thing is what if the user's main drive isn't C:\? And in this scenario I would recommend using Tasks over Threads


I sent you a PM, kindly reply


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by DumbChickenFeb 11, 2022 10:09 PM 3 96 Feb 11, 2022 10:09 PM
Last Post: MeW11