Hello,

I hope you are having a good day and thank you for taking the time to help me.

How would I go about creating a program that opens and closes the command prompt. I just realized that I can't create a program that runs in the background, independent of the command prompt, while creating a project under a "CLR Console Application" in Microsoft Visual Studio.

What application would I need to use? Would I just start an "empty Project"? Are there some examples that show code which opens command prompts and then closes them while the program is still running?

Is there a way to make the program I have right now which opens a command prompt and awaits a number followed by ENTER a subroutine? And after the subroutine, the program closes the command prompt?

Also, what could solve my problem is having a way to keep the console ontop of the Z order because once I type in a number, the computer will open up an image. Is there anyway to keep the console "ontop" or at the highest Z order so that I don't have to click on the console to type into it.

THANK YOU!!!!

Computer specifications:

64-bit Dell running Windows 7 OS.