Page 1 of 1
How to surpress CMD Box on start
Posted: Mon Mar 20, 2017 2:21 pm
by roebix3
Product, version and build:
Powershell Studio 5.4.136
32 or 64 bit version of product:
x64
Operating system:
Windows 10 past annyversary
32 or 64 bit OS:
x64
PowerShell Version:
5.1
I made a Keypass in Powershell and created an EXE. (GUI Application)
All Working.
But there's one thing:
Everytime i Launch the application also a cmd box pops-out.
Is there any way to surpress this CMD box?
Greetings
Re: How to surpress CMD Box on start
Posted: Mon Mar 20, 2017 2:26 pm
by DevinL
Can you please verify you're using one of the engines meant for GUI applications? If you're using one of the engines that ends with (Command Line) it will have a cmd box when launched:
- Windows.png (55.33 KiB) Viewed 2960 times
Re: How to surpress CMD Box on start
Posted: Tue Mar 21, 2017 12:36 am
by roebix3
Where can I find this setting?
/edit
I found it!
Whats actual de difference in between of Windows Forms and Windows?
Re: How to surpress CMD Box on start
Posted: Tue Mar 21, 2017 12:45 am
by roebix3
So after Doing that im recieving at start a LOT of systemboxes with powershell informations.. (my programm reads and creates folder on the first launch)
/edit well after using windows forms instead of windows it works.. whats the reason for that?
Re: How to surpress CMD Box on start
Posted: Tue Mar 21, 2017 7:46 am
by DevinL
This is due to the way the engines interpret the commands.
I'll speak to the team and see what we can do about getting a blog post together to explain this in more detail.
Re: How to surpress CMD Box on start
Posted: Tue Mar 21, 2017 1:11 pm
by roebix3
Ah thank you.
Would be happy if you then could send me the link to that blogpost.