Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 19th, 2007, 03:07 PM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default start automatically application(s) !!!!!!!!

hi
i have a program in c#
i want start automatically my program when windos started
thank's for your help(S)!!!!
 
Old January 22nd, 2007, 11:17 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Add a shortcut to your program to the Programs->Startup folder in your windows profile. This will launch it when you log in/start.

-Peter
 
Old January 23rd, 2007, 03:06 AM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi and thank's a lot for your help
but i need anouther way for this problem

can you help me?
 
Old January 24th, 2007, 02:46 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Well, that's how you'd start an application when you start/log in to windows.

You could create a windows service that would allow the application to run automatically regardless of the machines console state. However, this is a more involved process that requires careful programming to ensure you have a way of troubleshooting the process. Processes running as services tend to behave quite differently from console/desktop execution.

-Peter
 
Old January 31st, 2007, 07:00 AM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi
can you help me more?
thank's a lot





Similar Threads
Thread Thread Starter Forum Replies Last Post
start a context automatically, while tomcat starts sureshrgsl Apache Tomcat 4 May 17th, 2007 06:46 AM
start a context automatically, while tomcat starts sureshrgsl BOOK: Professional Apache Tomcat 0 April 16th, 2007 02:14 AM
start automatically application(s) angelboy .NET Framework 2.0 3 February 4th, 2007 03:33 PM
start automatically application(s) !!!!!!!! angelboy .NET Framework 2.0 1 February 4th, 2007 05:33 AM
Run vb application automatically PbsiGuru General .NET 3 March 17th, 2004 04:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.