Finished my VB Project and created an exe, I then made an installer for it using Inno Tools. Anyway I'd like my EXE to run at the Windows XP Logon screen, i.e. Before a User logs on....How do I do this?
Printable View
Finished my VB Project and created an exe, I then made an installer for it using Inno Tools. Anyway I'd like my EXE to run at the Windows XP Logon screen, i.e. Before a User logs on....How do I do this?
You cannot have applications running even before a User Logs in. To achieve that you will have to develop a windows service that can run even if the machine is logged off. And remember Windows Services should NOT have a User Interface attached to them. They can just run as a process.Quote:
Originally Posted by Ergo
You can create an application that starts up before a user logs in and is not a service. In fact, many anti-virus applications and firewalls do this.Quote:
Originally Posted by Shuja Ali
Don't ask me how though. I can't remember, lol.
Why should they have a UI attached to them? Most services DON'T have a GUI.Quote:
Originally Posted by Shuja Ali
Even those antivirus scanners run as Windows Services. :)Quote:
Originally Posted by kasracer
:sick: Well actually they should not have a UI attached to them. The above was just a Typo. :mad:Quote:
Originally Posted by kasracer
Actually, I've seen applications startup before login that did not have any services.Quote:
Originally Posted by Shuja Ali
After searching some more I found that you can make it so your application is run as a service, so it'll startup before login, but it won't be listed in the list of services like regular services or something like that. I can't find any code that shows how to do this though =/
Using a service would be easier.