Click here to Skip to main content
16,004,192 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to start exe of my project when system start or user login but don't use the startup folder and also not calling application from window service and not change registry file I try all three-way it's working but didn't want to use searching not getting anything help mi out thanks in advance

What I have tried:

tartup folder and also not calling application from window service and not change registry file I try all three-way it's working but didn't want to use
Posted
Updated 6-Jul-17 15:44pm
Comments
[no name] 6-Jul-17 22:06pm    
Explaining why you wish to do this would be helpful.

Well, you've pretty much eliminated all the spots you can launch your app from, so there's no other way to launch the process.
 
Share this answer
 
Comments
Member 12938546 7-Jul-17 3:47am    
Yes, actually ill try all these options it works but don't wanna to with that ...
is it possible that when system boots completed then we raised some events that call the exe file automatically
Dave Kreskowiak 7-Jul-17 8:22am    
There is no such event and even if there was, your code isn't running so you can't respond to it!
Member 12938546 7-Jul-17 8:47am    
Thanks, I'll decide to go with the windows service
Create a task in Task Scheduler.
You can select to run for a specific user/s or all users & either Log On or Start Up
 
Share this answer
 
Comments
[no name] 6-Jul-17 22:07pm    
Which is a service is it not?
Dave Kreskowiak 6-Jul-17 22:17pm    
Which itself is a service.
Member 12938546 7-Jul-17 3:53am    
yes that also try ..... 2-3 days ill search almost all google links didn't get anything
now I try with some event that fire when system boot completed, but I'm Not sure that is a feasible way or not or its right or wrong...?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900