Jibu,
In this case, you will want to use the RegistryKey class that is in the
Microsoft.Win32 namespace and then just set the text property to the value
you read from the key.
Also, if you are doing this for configuration information, you might
want to use XML files instead of the registry. The move in .NET for
configuration information is to move away from the registry as a way of
storing preferences.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Jibu George said:
Hi
Here I'm trying to load data in the runtime using some program.
eg: I want to get some value from registry at runtime and show it in the
text box, which is there in the user interface.
--
Thanks & Regards,
JIB
in message news:
[email protected]...
Jibu,
What do you mean load the textbox with data? You can set the Text with
the Text property, and technically, that is considered loading data
into
it.
Can you be more elaborate about what you are trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Hi
I'm developing a deployment package using Visual Studio.Net. I have a
custom
user interface with a text box. How can I load the text box with some
data
at run time.
Thanks & Regards,
JIB