Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / February 2005

Tip: Looking for answers? Try searching our database.

Registry in .NET world

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ioannis Vranos - 06 Feb 2005 12:56 GMT
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?

Signature

Ioannis Vranos

Vladimir Nesterovsky - 06 Feb 2005 14:57 GMT
> 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.
Signature

Vladimir Nesterovsky
e-mail: vladimir@nesterovsky-bros.com
home: www.nesterovsky-bros.com

Ioannis Vranos - 06 Feb 2005 15:39 GMT
>>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?

Signature

Ioannis Vranos

Ioannis Vranos - 06 Feb 2005 15:42 GMT
> 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.

Signature

Ioannis Vranos

Tim Robinson - 06 Feb 2005 16:59 GMT
> 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.

Signature

Tim Robinson (MVP, Windows SDK)
http://mobius.sourceforge.net/


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.