473,322 Members | 1,526 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,322 software developers and data experts.

Registry in .NET world

In the past I had read that in .NET world there is no need to store data
in the registry, but the applications would have some other independent
way to do that.
What is this way? Suppose we have to save some user configuration of an
application. Where will we save that in .NET?


--
Ioannis Vranos
Nov 17 '05 #1
4 1021

"Ioannis Vranos" <iv*@remove.this.grad.com> wrote in message
news:et**************@TK2MSFTNGP09.phx.gbl...
In the past I had read that in .NET world there is no need to store data
in the registry, but the applications would have some other independent
way to do that.
What is this way? Suppose we have to save some user configuration of an
application. Where will we save that in .NET?


Take a look at a "Isolated Storage" topic in the MSDN.
--
Vladimir Nesterovsky
e-mail: vl******@nesterovsky-bros.com
home: www.nesterovsky-bros.com
Nov 17 '05 #2
Vladimir Nesterovsky wrote:
What is this way? Suppose we have to save some user configuration of an
application. Where will we save that in .NET?

Take a look at a "Isolated Storage" topic in the MSDN.

If I understood correctly, if for example we want to save some
configuration data of a .NET application in Windows XP ,we will create a
text .ini file or something in <SYSTEMDRIVE>\Documents and
Settings\<user>\Application Data?


--
Ioannis Vranos
Nov 17 '05 #3
Ioannis Vranos wrote:
If I understood correctly, if for example we want to save some
configuration data of a .NET application in Windows XP ,we will create a
text .ini file or something in <SYSTEMDRIVE>\Documents and
Settings\<user>\Application Data?

In any case we use IsolatedStorageFile *. Thanks a lot for the information.


--
Ioannis Vranos
Nov 17 '05 #4
Ioannis Vranos wrote:
If I understood correctly, if for example we want to save some
configuration data of a .NET application in Windows XP ,we will create a
text .ini file or something in <SYSTEMDRIVE>\Documents and
Settings\<user>\Application Data?


You can continue doing whatever you're doing now (you can access the
registry through the Microsoft::Win32::Registry class), or you can use
isolated storage if you think it's right. Or some other option.

--
Tim Robinson (MVP, Windows SDK)
http://mobius.sourceforge.net/
Nov 17 '05 #5

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

Similar topics

3
by: Bo | last post by:
I am using RegistryKey.GetValue() method to retrieve values from Windows Registry. I don't know how to read type REG_MULTI_SZ into a string array. I have tried string array = (string)...
11
by: Larry Bird | last post by:
I'm trying to read a registry key using VB.Net. I have posted the code below that I'm using: Dim DBConnect As RegistryKey = Registry.CurrentUser.OpenSubKey _ ("Software\VB and VBA Program...
17
by: Sam | last post by:
Hi all If I only want to store screen location and size of my application in Windows Registry, which of the keys should I store this info? A sample code is greatly appreciated. Thank you ...
2
by: Ralph Malph | last post by:
I am writing a program to backup user files to a network share quick and easy and I wish to include the capability to backup the Registry files such as the SAM, SYSTEM, DEFAULT, etc files. Windows...
7
by: Vernon Peppers | last post by:
I am a newbie with .NET, trying to step up from VB6. I have a need to write to and read from the registry. Config files will not be acceptable due to their lack of security. The registry entry...
8
by: rbt | last post by:
On windows xp, is there an easy way to extract the information that Python added to the registry as it was installed?
3
by: vighnesh | last post by:
Hai All Can anybody please tell me what are the standard registry locations that are affected by Virus's , Spyware and Adware Programs. Thanks in advance Regards Vighneswar
6
by: JOSII | last post by:
Getting a string of boolean value into and out of the registry is no problem. Here's the problem: Although you can place an object into the registry and retreive it, I need to place an ArrayList...
20
by: Newbie Coder | last post by:
MFC Application VC++.NET 2003 I have a certain registry key (HKCU\Software\MyKey) that contains between 30 & 64 string values I need to write a '*' to all those 30 - 64 string values under...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.