Wrox Programmer Forums
|
BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8
This is the forum to discuss the Wrox book Professional C# 2008 by Christian Nagel, Bill Evjen, Jay Glynn, Morgan Skinner, Karli Watson; ISBN: 9780470191378
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 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 March 9th, 2011, 03:58 AM
Authorized User
 
Join Date: Mar 2011
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
Default Windows Startup Script

Hi

I am just being curios here . I want to write a program that will actually greet the user during windows startup. Never Mind the code.

I dont even have the slightest idea of how to make it run during the start up. Any ideas regarding the same will be helpful

Thanks in Advance :)
 
Old March 19th, 2011, 07:57 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You can put a short cut in the user's StartUp folder in the Start Menu. You can also create a key in the registry at
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Run to execute programs on startup.

Alternatively, for something more serious than a greeting, you can also write a Windows Service.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
MohamedHassanAli (March 21st, 2011)
 
Old March 21st, 2011, 01:49 AM
Authorized User
 
Join Date: Mar 2011
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
Thumbs up

Thanks Imar . It certainly did help me out. Thanks again.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Startup with Windows API rohit_ghosh Excel VBA 1 July 29th, 2008 04:20 PM
Windows Script Encoder error46146 Javascript 2 August 27th, 2006 03:53 AM
How do I use the Windows Script Encoder? error46146 Javascript How-To 1 July 17th, 2006 08:09 PM
SSIS Script for Monitoring Windows Service deepumi SQL Server 2005 0 May 25th, 2006 04:41 AM
Windows Script Component Problem cassb BOOK: Beginning ASP 3.0 1 October 21st, 2004 09:48 AM





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