|
-
Apr 3rd, 2006, 06:22 AM
#1
Thread Starter
New Member
Created an EXE
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?
-
Apr 3rd, 2006, 07:03 AM
#2
Re: Created an EXE
 Originally Posted by Ergo
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.
Last edited by Shuja Ali; Apr 4th, 2006 at 02:51 AM.
Reason: corrected the typo
Use [code] source code here[/code] tags when you post source code.
My Articles
-
Apr 4th, 2006, 02:29 AM
#3
Re: Created an EXE
 Originally Posted by Shuja Ali
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.
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.
Don't ask me how though. I can't remember, lol.
 Originally Posted by Shuja Ali
And remember Windows Services should have a User Interface attached to them. They can just run as a process.
Why should they have a UI attached to them? Most services DON'T have a GUI.
-
Apr 4th, 2006, 02:50 AM
#4
Re: Created an EXE
 Originally Posted by kasracer
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.
Don't ask me how though. I can't remember, lol.
Even those antivirus scanners run as Windows Services. 
 Originally Posted by kasracer
Why should they have a UI attached to them? Most services DON'T have a GUI.
Well actually they should not have a UI attached to them. The above was just a Typo.
Use [code] source code here[/code] tags when you post source code.
My Articles
-
Apr 4th, 2006, 02:58 AM
#5
Re: Created an EXE
 Originally Posted by Shuja Ali
Even those antivirus scanners run as Windows Services. 
Actually, I've seen applications startup before login that did not have any services.
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|