I have deployed Dialog System application that is launched from a shortcut on the desktop.
The console window briefly appears and disappears before my application starts.
I have a batch file that sets up some environment variables before running the application:
rem * Set COBDATA to find the screenset
rem * Use UNC with server IP address and share name
rem * Enable Microsoft Visual Styles
rem * Now launch the application
Change the Run property of the shortcut to Minimize :