Tks Man,

And in the case where i don't know the folder structure and need to search
de key by name or value?

Att,


2011/2/2 Carlos Landeras <[email protected]>

> For example:
>
>  Dim RutaClave As String =
> "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
>
>    readValue = My.Computer.Registry.GetValue(RutaClave, "DesiredValue",
> Nothing)
>
>                 If readValue Is Nothing Then
>                     My.Computer.Registry.SetValue(RutaClave,
> "DesiredValue", ValorRegistro)
> end if
>
>
> On Wed, Feb 2, 2011 at 10:22 AM, Cerebrus <[email protected]> wrote:
>
>> And why not ? Would it bring about the doom of the human race? Is the
>> "registry key" in fact the forbidden fruit in Microsoft's garden?
>>
>> On Feb 2, 10:02 am, Nelson <[email protected]> wrote:
>> > never ever try to edit Registry key.
>>
>
>


-- 
Carlos Caetano

Reply via email to