I'm making a simple text-editor form program using Visual studio. I've used the project type "empty", When the program is run, the command prompt appears along with the form object.
How could I stop this system32\cmd.exe shell from starting? Thanks.
When choosing a type of project you shouldn't have used Console application, but appropriate type depending on GUI technology you want to use.
You can do following, depending on version of Visual Studio (I don't have it opened at moment):
1) go to Project Settings -> General Settings
2) change Application type to Windows Application