Article View: free.it.visual-basic
Article #3566Re: Accedere ai registri....come?
From: Frankie
Date: Fri, 14 Jun 2002 15:25
Date: Fri, 14 Jun 2002 15:25
24 lines
2006 bytes
2006 bytes
> ho fatto come mi hai detto ma mi ritorna quest'errore di run-time:
>
> Errore di run-time '438': Propriet� o metodo non supportati dall'oggetto.
>
> da cosa pu� dipendere?
> ciao
>
Hai ragione, scusami, ho sbagliato a scrivere il comando per leggere dal
registro. Quello corretto � il seguente:
Registry.RegRead ("HKEY_LOCAL_MACHINE\Software\ecc...")
In aggiunta, voglio dirti che per scrivere nel registro, basta usare il
comando .RegWrite.
Per cancellare una voce dal registro, basta aggiungere una chiave vuota. Es:
Mettiamo che esiste la voce HKEY_LOCAL_MACHINE\Software\Italia\Allenatore" e
la chiave sia "G. Trapattoni"
Per cancellarla, basta inserire il codice seguente:
Registry.RegRead("HKEY_LOCAL_MACHINE\Software\Italia\Allenatore",""
Questo � tutto
Technical Details
Message-ID:
<SVnO8.14241$Kt3.320287@twister2.libero.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!supernews.com!feed.textport.net!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mailReferences:
<Ri4O8.10164$j65.222652@twister1.libero.it> <tJ7O8.11216$Kt3.248828@twister2.libero.it> <gW9O8.12363$j65.280488@twister1.libero.it>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,ad4efc12927b7ad6 X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2002-06-14 08:25:56 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!supernews.com!feed.textport.net!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail From: "Frankie" <frankiepaul@libero.it> Newsgroups: free.it.visual-basic References: <Ri4O8.10164$j65.222652@twister1.libero.it> <tJ7O8.11216$Kt3.248828@twister2.libero.it> <gW9O8.12363$j65.280488@twister1.libero.it> Subject: Re: Accedere ai registri....come? Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <SVnO8.14241$Kt3.320287@twister2.libero.it> Date: Fri, 14 Jun 2002 15:25:38 GMT NNTP-Posting-Host: 151.26.31.217 X-Complaints-To: abuse@libero.it X-Trace: twister2.libero.it 1024068338 151.26.31.217 (Fri, 14 Jun 2002 17:25:38 MET DST) NNTP-Posting-Date: Fri, 14 Jun 2002 17:25:38 MET DST Organization: [Infostrada]