Silent EXE application
-
:confused:Hi! I would like to autostart on my Windows 2000 machines a .NET application I will build. The thing is that the application shouldn't have a GUI or a console window. So I can't make a Windows application (yes I can hide the Form, but that doesn't seem to be such a good idea). Or can I build a Console application but the Console window keeps showing up. Can I get rid of the Console window or should I make a Windows Forms application and then run this.Hide() but this will use memory. Is there some other way of doing this. I'm quite lost. Since I'm a newbie I have probably missed something basic.
-
:confused:Hi! I would like to autostart on my Windows 2000 machines a .NET application I will build. The thing is that the application shouldn't have a GUI or a console window. So I can't make a Windows application (yes I can hide the Form, but that doesn't seem to be such a good idea). Or can I build a Console application but the Console window keeps showing up. Can I get rid of the Console window or should I make a Windows Forms application and then run this.Hide() but this will use memory. Is there some other way of doing this. I'm quite lost. Since I'm a newbie I have probably missed something basic.
Standard C# Windows application running your code in Main() should work fine. Don't do that Application.Run. That is, if you do not need a message pump. Rocky Moore <><
-
:confused:Hi! I would like to autostart on my Windows 2000 machines a .NET application I will build. The thing is that the application shouldn't have a GUI or a console window. So I can't make a Windows application (yes I can hide the Form, but that doesn't seem to be such a good idea). Or can I build a Console application but the Console window keeps showing up. Can I get rid of the Console window or should I make a Windows Forms application and then run this.Hide() but this will use memory. Is there some other way of doing this. I'm quite lost. Since I'm a newbie I have probably missed something basic.
-
You need a service :) I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02
This stuff will not work if you have'nt Framework installed on the target machine. You better use unmanaged C++ for this application...
-
This stuff will not work if you have'nt Framework installed on the target machine. You better use unmanaged C++ for this application...