VB.NET

Moderators: seancampbell
Number of threads: 4022
Number of posts: 10035

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
how to make vb.net apps autostart Posted by mr_popo on 15 Sept 2005 at 10:08 PM
anyone here who knows how to make my application
start automatically when windows starts?
Report
Re: how to make vb.net apps autostart Posted by rlc on 16 Sept 2005 at 7:17 AM
A couple things you can do..

There are some simple ways to add information to the start menu or other places in windows. This is fine for a simple small use app.

If your app is mission critical, or a commercial app. Probably the best thing to do is to make the program a windows service, instead of a application. If you made it a service you would need to make sure your app is seperated in layers... IE. you UI would still be an applicaiton, however all your processing would be in a logic/business object layer which would run when service starts, and would not require the UI to be open to run. Make sense?

~rlc
Report
Re: how to make vb.net apps autostart Posted by mr_popo on 17 Sept 2005 at 5:18 PM
i got your point. what if i just want my app to autorun as is without changing it to a windows service? is there a function in .net which allows me to do that or i'll just have to manually write keys to the registry?

Report
Re: how to make vb.net apps autostart Posted by rlc on 18 Sept 2005 at 3:13 PM
Yeah, you can put it in an installer application if you are using one, or do it manually.

~rlc



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.