How do I make a formless windows application?
-
Hi I want to write a windows application that doesn’t have a form, that is no input or output. I have tried the console project but that causes a CMD box to flash up, I have tried the windows service option but this doesn’t allow it to be run from the command line. This is what I want to do: My application will be launched from a function key in our main application (uses Shellexecute) it then checks some items and launches another existing application. no user interaction is required.
-
Hi I want to write a windows application that doesn’t have a form, that is no input or output. I have tried the console project but that causes a CMD box to flash up, I have tried the windows service option but this doesn’t allow it to be run from the command line. This is what I want to do: My application will be launched from a function key in our main application (uses Shellexecute) it then checks some items and launches another existing application. no user interaction is required.
use the "main" method do not show any form (if u have any)
-
Hi I want to write a windows application that doesn’t have a form, that is no input or output. I have tried the console project but that causes a CMD box to flash up, I have tried the windows service option but this doesn’t allow it to be run from the command line. This is what I want to do: My application will be launched from a function key in our main application (uses Shellexecute) it then checks some items and launches another existing application. no user interaction is required.
you can hide the form on start up < note this will show the application in taskbar > private void Form1_Load(object sender, System.EventArgs e) { this.WindowState = FormWindowState.Minimized; this.Visible = false; }
Vikas Amin UNITED STATES STEEL CORPORATION
My First Article on CP" Virtual Serial Port "[^]
modified on Thursday, July 24, 2008 5:33 PM
-
you can hide the form on start up < note this will show the application in taskbar > private void Form1_Load(object sender, System.EventArgs e) { this.WindowState = FormWindowState.Minimized; this.Visible = false; }
Vikas Amin UNITED STATES STEEL CORPORATION
My First Article on CP" Virtual Serial Port "[^]
modified on Thursday, July 24, 2008 5:33 PM
If you want to hide the window ShowInTaskbar = false;
Vikas Amin UNITED STATES STEEL CORPORATION
My First Article on CP" Virtual Serial Port "[^]
modified on Thursday, July 24, 2008 5:33 PM