VS 2008 (VB Express) Registry.GetValue question
am 27.11.2007 02:05:39 von Matt Pollicove
Hi there.
I'm trying to read from:
HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemStar t\.Current
to get the value in: (Default)
using: strCurrentSound =
My.Computer.Registry.GetValue("HKEY_CURRENT_USER\AppEvents\S chemes\Apps\.Default\SystemStart\",
".Current", tmp)
But I can't get a value and I know there's a filename stored there.
Can anyone tell me where I'm going wrong?
Thanks,
Matt
RE: VS 2008 (VB Express) Registry.GetValue question
am 27.11.2007 15:36:04 von Shiva
To get the default value specify an empty string for the 2nd param.
"Matt Pollicove" wrote:
> Hi there.
>
> I'm trying to read from:
> HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemStar t\.Current
>
> to get the value in: (Default)
>
> using: strCurrentSound =
> My.Computer.Registry.GetValue("HKEY_CURRENT_USER\AppEvents\S chemes\Apps\.Default\SystemStart\",
> ".Current", tmp)
>
> But I can't get a value and I know there's a filename stored there.
>
> Can anyone tell me where I'm going wrong?
>
> Thanks,
> Matt
>
>
Re: VS 2008 (VB Express) Registry.GetValue question
am 27.11.2007 17:08:53 von Matt Pollicove
I'll try this out, thanks!!!
Matt
"Siva M" wrote in message
news:2D5A08C6-7855-4B8C-B829-42DC7F3D8F61@microsoft.com...
> To get the default value specify an empty string for the 2nd param.
>
> "Matt Pollicove" wrote:
>
>> Hi there.
>>
>> I'm trying to read from:
>> HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemStar t\.Current
>>
>> to get the value in: (Default)
>>
>> using: strCurrentSound =
>> My.Computer.Registry.GetValue("HKEY_CURRENT_USER\AppEvents\S chemes\Apps\.Default\SystemStart\",
>> ".Current", tmp)
>>
>> But I can't get a value and I know there's a filename stored there.
>>
>> Can anyone tell me where I'm going wrong?
>>
>> Thanks,
>> Matt
>>
>>