Article View: borland.public.cppbuilder.nativeapi
Article #12397Re: Remove program from windows startup problem
From: Hern�n Tornielli
Date: Sat, 06 Dec 2003 01:02
Date: Sat, 06 Dec 2003 01:02
16 lines
1505 bytes
1505 bytes
"Martin C" <martinc@aol.com> escribi� en el mensaje news:3fd0fe71@newsgroups.borland.com... > Since we are talking about higher access restrictions, what is the best way > to make my program get added/removed from the windows startup > programmatically. What I need to do exactly is to allow the user to > add/remove my program to the windows startup... I would suggest doing that per-user instead of per-machine. Just change the following line: Registry->RootKey = HKEY_LOCAL_MACHINE; by Registry->RootKey = HKEY_CURRENT_USER; Hernan Tornielli
Technical Details
Message-ID:
<3fd12a47@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fd0ed25@newsgroups.borland.com> <3fd0f248$1@newsgroups.borland.com> <3fd0fe71@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,ff7b3ea91fca4aca X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-05 17:09:08 PST From: "Hern�n Tornielli" <hernan@nospam.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fd0ed25@newsgroups.borland.com> <3fd0f248$1@newsgroups.borland.com> <3fd0fe71@newsgroups.borland.com> Subject: Re: Remove program from windows startup problem Date: Fri, 5 Dec 2003 22:02:04 -0300 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 200.59.39.23 Message-ID: <3fd12a47@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1070672455 200.59.39.23 (5 Dec 2003 17:00:55 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail