Home All Groups Group Topic Archive Search About

Windows application start with opreating system

Author
11 Apr 2005 6:09 PM
Husam
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

Author
11 Apr 2005 7:51 PM
Frank
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)

frank_hayw***@hotmail.com
http://www.apricot.topfreewebhosting.com


Show quoteHide quote
"Husam" <Hu***@discussions.microsoft.com> wrote in message
news:AD39D369-1B61-4FE2-A711-53690C6CF7DE@microsoft.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
Author
12 Apr 2005 1:43 PM
Chris Dunaway
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.
Author
12 Apr 2005 2:17 PM
Philip Hristov
Chris,

It will start when someone logs on.

Regards,

Philip.