Wrox Programmer Forums
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 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 July 27th, 2003, 09:07 AM
Registered User
 
Join Date: Jun 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default auto start

how do I start my application automatically at logon, programatically?
 
Old July 28th, 2003, 03:22 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 231
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Add a new string value to the registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Run

The value name should be your programs description and the value data should be the full path to your executable.

You could also place a shortcut to your app in the start-up folder of the start menu (this can be done through the file system).

Regards
Owain Williams
 
Old October 15th, 2003, 01:26 PM
Authorized User
 
Join Date: Oct 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you can use Scheduled Task






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Auto Start Windows Service virendar23 C# 2005 3 September 15th, 2011 03:16 PM
How to auto. Start App As User on Server? BrianWren Pro VB 6 12 April 29th, 2008 05:03 PM
How to Auto Start Windows Service virendar23 .NET Framework 2.0 5 April 18th, 2008 11:43 AM
How to auto load(on start) a form in access 2000? method Access 1 June 17th, 2005 10:55 PM
SQL Server "Service Manager" Auto Start Problem. khalidumer SQL Server 2000 0 May 18th, 2004 09:21 AM





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