473,382 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Checking if registry value exists

Hi everyone.

Sorry if this is the wrong group for this question, but since it
is .NET and VB, I thought someone may be able to help me here or point
me to the right group for this.

I am working on an application which needs to check if a certain VALUE
exists in a registry subkey. Is there an easy way to do this? So far,
my googles have come up empty on this, though they DO have a plethora
of information on checking if a KEY exists.

Any help on this is much appreciated.

Thank you,
Ryan

May 2 '07 #1
2 2091
try this - its c# but will easily convert
http://www.devhood.com/tutorials/tut...utorial_id=264

--
--
Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
<ca**************@gmail.comwrote in message
news:11**********************@p77g2000hsh.googlegr oups.com...
Hi everyone.

Sorry if this is the wrong group for this question, but since it
is .NET and VB, I thought someone may be able to help me here or point
me to the right group for this.

I am working on an application which needs to check if a certain VALUE
exists in a registry subkey. Is there an easy way to do this? So far,
my googles have come up empty on this, though they DO have a plethora
of information on checking if a KEY exists.

Any help on this is much appreciated.

Thank you,
Ryan

May 2 '07 #2
On Wed, 2 May 2007 15:52:33 +0100, "John Timney \(MVP\)"
<x_****@timney.eclipse.co.ukstaggered into the room, obviously
drunk, and said:
>try this - its c# but will easily convert
http://www.devhood.com/tutorials/tut...utorial_id=264

--

Thank you very much, this helped a lot.

Ryan
May 2 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Pat Blair | last post by:
Sorry to anyone who read this post, but in case it's useful to anyone: Further experiments reveal that while a tuple comes back if you read a multi-line string, you set the value using a list (not...
4
by: GujuBoy | last post by:
i want to check to see if a certain program is installed on my windows box using python. how can i do that...(ie, i want to see if "word" is installed) please help
2
by: Ed P. | last post by:
hello, I want to check to see if a certain registry key exists on the registry. What's the easiest way to do this. Here is what I am currently doing. private string registryKey =...
3
by: Yogi_Bear_79 | last post by:
Been trying to do an IF statement to check for a registry key. I understand to RegistryKey class in the Microsoft.Win32 namespace. But just can't get the syntax correct. What I want is to test for...
3
by: Slimo | last post by:
Hello, I'm searching some example of code (VB) for reading remote registry subkeys and keys. Thanks
2
by: Henry Fleming | last post by:
I have an C# assembly that is supposed to read a registry key: RegistryKey regCurrentUser = Registry.CurrentUser; RegistryKey regSoftware = regCurrentUser.OpenSubKey("Software",true);...
9
by: | last post by:
How can I set or create a registry key during the installation of our .net projects? Thanks.
2
by: =?Utf-8?B?QW5kcmUgS2xpbW92?= | last post by:
Hi! Situation: simple code read registry value (OpenSubKey -GetValue, as usual). Requested value exists in registry and has type DWORD, read into the variable UInt32, access rights granted. ...
5
by: teh_sAbEr | last post by:
Hi everybody. I'm trying to write a script that'll change desktop wallpaper every time its run. Heres what I've gotten so far: #random wallpaper changer! import _winreg from os import walk...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.