Problems with Console Output from Windows-App
-
Hi! I have a windows-app, that should perform normally when started with double-click. If it is being started from an console/Dos-Box with more than 0 arguments it shall do a specific operation. My problem is, that i cannot write console-output with Systen.Console.WriteLine("..."), because the application is set to be a windowsapplication. If i changed this to console-application i get an DOS-Box everytime i start the app with double-click (which looks stupid). How can i make a windows application write it´s output to my DOS-Box or make the console-app not to open an DOS-box? Help would be great! Thanx a lot! Greetings J.
-
Hi! I have a windows-app, that should perform normally when started with double-click. If it is being started from an console/Dos-Box with more than 0 arguments it shall do a specific operation. My problem is, that i cannot write console-output with Systen.Console.WriteLine("..."), because the application is set to be a windowsapplication. If i changed this to console-application i get an DOS-Box everytime i start the app with double-click (which looks stupid). How can i make a windows application write it´s output to my DOS-Box or make the console-app not to open an DOS-box? Help would be great! Thanx a lot! Greetings J.