G
Guest
I am creating an executable using CodeDom.
Once the file is written, a batch file is built and runs that compiles the .cs file into an exe.
Everything is fine (well almost, i'm posting twice), but when I run the exe a command prompt/dos like window pops up as well as the form.
The file i'm running at present is IDENTICAL to a completely blank windows form application built with VS.
So why does my version have this command line and why doesn't the ones produced by VS?
I want to minimize or hide this command prompt but because all I am running is: Application.Run(new Form1()); I dont have a handle on it to hide it.
Can anyone help?
Jax
Once the file is written, a batch file is built and runs that compiles the .cs file into an exe.
Everything is fine (well almost, i'm posting twice), but when I run the exe a command prompt/dos like window pops up as well as the form.
The file i'm running at present is IDENTICAL to a completely blank windows form application built with VS.
So why does my version have this command line and why doesn't the ones produced by VS?
I want to minimize or hide this command prompt but because all I am running is: Application.Run(new Form1()); I dont have a handle on it to hide it.
Can anyone help?
Jax