LaLaBoy

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a exe file(eg. hello.exe) and
I want to The file execute automatically when the windows start up!
Also, If no user log in to the windows, the exe file still run at start up!

It is Because I place this file in service machine!

Thank You ..
 
You can create it as a service or add it to the registry with a setup.

Not sure which OS this covers... Think it would be 95 & +

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"YourAppName"="C:\\PROGRA~1\\YourDirectory\\Folder\\YourExecutable.exe, Any
Parameters can be added here after the coma"

HTH,
Brian
 
The exe fail when start up,
If the exe file need external dll file
do I need to set the dll file path, thank you
 
You can do this easier as a Scheduled Task on Windows 2000/XP select the
Hello.exe app in the first dialog and the next dialog is a list of when you
want it to start - one option is 'on startup'.

Andy
 
No it shouldn't. Does your app have a path to a user setting that isn't
available upon startup?
 
It's okay now where I use the Window Scheduling
but The Icon in System Tray disappear and my application run as a background tas
when I set the scheduling at Windows Start Up
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top