471,319 Members | 1,597 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 software developers and data experts.

Windows application start with opreating system

Hi EveryBody:

by VB.Net
How can I amke windows application project start with starting of opreating
system and end with ending the opreating system, for exaple like the windows
service project when you start with starting windows opreating system and
stop with ending of opreating system ?

any help will be apprecaited

regard's

Husam
Nov 21 '05 #1
3 2707
Hi Husam

The easiest way would be to put a shortcut to the application.exe file in
the 'C:\Documents and Settings\All Users\Start Menu\Programs\Startup'
folder. You can make the setup do this automatically by right clicking 'File
System on Target Machine' in the project output window and selecting 'Add
Special Folder'. Just select 'User's Start Menu' and you are away.

The application will automatically terminate when you terminate the
operating system.

Frank Hayward (MCP)

fr***********@hotmail.com
http://www.apricot.topfreewebhosting.com
"Husam" <Hu***@discussions.microsoft.com> wrote in message
news:AD**********************************@microsof t.com...
Hi EveryBody:

by VB.Net
How can I amke windows application project start with starting of
opreating
system and end with ending the opreating system, for exaple like the
windows
service project when you start with starting windows opreating system and
stop with ending of opreating system ?

any help will be apprecaited

regard's

Husam

Nov 21 '05 #2
If you do it that way, will the app start with the OS or only when
someone logs on? I thought a Windows service was the only way to get
an app to start when the OS starts.

Nov 21 '05 #3
Chris,

It will start when someone logs on.

Regards,

Philip.

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Ayende Rahien | last post: by
2 posts views Thread by Jesper Stocholm | last post: by
4 posts views Thread by tshad | last post: by
5 posts views Thread by sonali_reddy123 | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.