🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12403

Re: Remove program from windows startup problem

#12403
From: Remy Lebeau (TeamB)
Date: Sat, 06 Dec 2003 22:26
19 lines
1690 bytes
"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: <3fd25679$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
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>

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-06 14:39:17 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.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>
Subject: Re: Remove program from windows startup problem
Date: Sat, 6 Dec 2003 14:26:18 -0800
Lines: 21
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: 67.23.78.224
Message-ID: <3fd25679$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1070749305 67.23.78.224 (6 Dec 2003 14:21:45 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail