Article View: borland.public.cppbuilder.nativeapi
Article #12410Re: Remove program from windows startup problem
From: Martin C
Date: Sun, 07 Dec 2003 22:49
Date: Sun, 07 Dec 2003 22:49
30 lines
1917 bytes
1917 bytes
Thanks remy it worked, and sorry for the misunderstanding...
Best Regards
"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:3fd25679$1@newsgroups.borland.com...
>
> "Martin C" <martinc@aol.com> wrote in message
> news:3fd24ef6@newsgroups.borland.com...
>
> > Registry->Access=KEY_ALL_ACCESS;
>
> I guess I did not make my earlier point clearer. Let me re-phrase it - do
> *not* use KEY_ALL_ACCESS!!! It is only available to admins, which
defaults
> the purpose of what you are asking for. Since you are going to be
altering
> the key, use KEY_WRITE instead:
>
> Registry->Access = KEY_WRITE;
>
> > Registry->DeleteKey("Project1");
>
> That should be using DeleteValue(), not DeleteKey().
>
>
> Gambit
>
>
Technical Details
Message-ID:
<3fd3ae8f@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> <3fd0fdbe@newsgroups.borland.com> <3fd1013d$1@newsgroups.borland.com> <3fd10591@newsgroups.borland.com> <3fd154d6$1@newsgroups.borland.com> <3fd24ef6@newsgroups.borland.com> <3fd25679$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,ff7b3ea91fca4aca X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-07 15:09:09 PST From: "Martin C" <martinc@aol.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fd0ed25@newsgroups.borland.com> <3fd0f248$1@newsgroups.borland.com> <3fd0fdbe@newsgroups.borland.com> <3fd1013d$1@newsgroups.borland.com> <3fd10591@newsgroups.borland.com> <3fd154d6$1@newsgroups.borland.com> <3fd24ef6@newsgroups.borland.com> <3fd25679$1@newsgroups.borland.com> Subject: Re: Remove program from windows startup problem Date: Sun, 7 Dec 2003 14:49:53 -0800 Lines: 32 Organization: V Safe 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: 81.10.4.238 Message-ID: <3fd3ae8f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1070837391 81.10.4.238 (7 Dec 2003 14:49:51 -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