|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Windows application start with opreating systemHi 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 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 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. |
|||||||||||||||||||||||