I'm new to PB.
My primary language is not US/UK. I am using Google Translate.
I'm looking for a way to make the exe file I'm writing to run in commandline mode.
Someone give me some advice. Make the exe have options (parameters) when running commandline.
Thanks.
How to my exe output have options when run it in commandline mode
-
hoangdiemtinh
- User

- Posts: 97
- Joined: Wed Nov 16, 2022 1:51 pm
How to my exe output have options when run it in commandline mode
PC: Windows 10 x64, 8GB RAM. PB ver: 6.x
--
I love PB5 vs PB6
--
I love PB5 vs PB6
Re: How to my exe output have options when run it in commandline mode
Menu -> Compiler -> Compiler Option -> Set Executable Format to Console
See PB-Help OpenConsole
See PB-Help Process Index -> Programm Parameters and CountProgrammParameters
See PB-Help OpenConsole
See PB-Help Process Index -> Programm Parameters and CountProgrammParameters
My Projects EventDesigner V3 / ThreadToGUI / OOP-BaseClass / Windows: Module ActiveScript
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive
-
hoangdiemtinh
- User

- Posts: 97
- Joined: Wed Nov 16, 2022 1:51 pm
Re: How to my exe output have options when run it in commandline mode
Thank for your advice.
My EXE is a window form. Is there any way to add commandline mode (add parameters...) to the form ?
My EXE is a window form. Is there any way to add commandline mode (add parameters...) to the form ?
PC: Windows 10 x64, 8GB RAM. PB ver: 6.x
--
I love PB5 vs PB6
--
I love PB5 vs PB6
Re: How to my exe output have options when run it in commandline mode
ProgramParameters work with window forms too
My Projects EventDesigner V3 / ThreadToGUI / OOP-BaseClass / Windows: Module ActiveScript
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive
