473,796 Members | 2,741 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

RegistryKey GetValue?

Hi

How can I tell what type of value (string, int, ...) is returned from a call
to RegistryKey.Get Value?

Thanks,
Ronen
Nov 15 '05 #1
1 4486
RegistryKey.Get Value().GetType ()

"R Agam" <ra***@mmm.co m> wrote in message
news:uY******** *****@TK2MSFTNG P09.phx.gbl...
Hi

How can I tell what type of value (string, int, ...) is returned from a call to RegistryKey.Get Value?

Thanks,
Ronen

Nov 15 '05 #2

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

Similar topics

1
1913
by: R A | last post by:
Hi I write the registry value using the following: Size size = new Size (100, 500); Key.SetValue (ClientSizeName, size); How can I retreive the value back to a Size type? When I use
0
1322
by: Frank Jones | last post by:
When I call RegistryKey.GetValue for a remote system, it returns a value that has been automatically expanded for me using the environment of the machine that is running the .Net application (as opposed to the environment for the system I am retrieving the key from). This is easily reproduced with a small sample. Is this a known bug? It should either it expanded based on the remote environment, or not expand at all. Joe
0
2854
by: csharp_helpwanted | last post by:
steps.. first, I'm creating a connection by mapping a network drive to the pc second, the map drive connection was successful I try to read a certian registry key/value (that is a valid reg item) third, I disconnect the network drive connection it works great the first time but if i run it again on the same pc anytime after that I get the following
8
2830
by: Steve | last post by:
I am using RegistryKey reademai2 = Registry.LocalMachine.OpenSubKey(launch_email_path, true); string launch_email = (String)reademai2.GetValue(""); To get the value, in the registry, value = "C:\Program Files\Internet Explorer\iexplore.exe" -nohome but If I used string launch_email = (String)reademai2.GetValue(""); I got the value ="\"C:\Program Files\Internet Explorer\iexplore.exe\" -nohome" System will add "\......\", is it normal?
1
4934
by: Abhijit | last post by:
Hi, I am facing problem in retriving value of a registry key where the value is of type REG_QWORD. Below is the code snipet i am trying with: RegistryKey reg = Registry.CurrentUser; regKeyTools = reg.OpenSubKey(@"MynewKey\qword"); object val = regKeyTools.GetValue("qvalue");
1
3385
by: Brian Keating | last post by:
Hi there anyone know to the get the native registry Handle from a RegistryKey? thanks in advance
4
8462
by: Thomas | last post by:
Hi All, When i am trying run the following code i am geting the error 'Object reference not set to an instance of an object' Try Dim Reg As RegistryKey Dim Value As String Dim KeyValue As String = "Software\\MyCompany\\Connections" Reg = Registry.LocalMachine.OpenSubKey(KeyValue, True)
2
3594
by: auldh | last post by:
being a novice i searched the net to get help on my c# project. i'm trying to iterate, enumerate, loop through a registry tree hive. for example i have a sub folder under HKLM\SOFTWARE that has some 21 sub folders and there are sub folders under some of he 21. i have no problem going into the sub folder (lets call it) programX. when i do an readkeys.opensubkey(regipath) and then keyvalue.getvalue(...) it will not only read the "values"...
4
1726
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance. Here is my problem. I have a program that will create a registry key, however it is not and here is the code and also the error that follows: Imports System.IO Imports System.Text Imports System.Security.Cryptography Imports System.Net Imports Microsoft.VisualBasic.Conversion Imports System.Management
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10201
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10021
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9061
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6802
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5454
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4130
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2931
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.