473,480 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to store application information?

I just saw this program called Handy Backup 4.5 where you can add backup
jobs as such... and I wonder where you normally save data in an application.

I come from an ASP world and have started to get into Windows Forms and
Desktop programming and for me it's always been a Database-Way to go when
wanting to save data.. or in the Registry when it comes to usersettings. But
in the application I was looking at I looked into the installation folder
and I could'nt see any big files, databases or anything big in the registry
for the application so where do you save the Backup jobs and information
about them that you can create in the application?

I'm not asking to check into the program but I'd like to know what the
normal approach is to store application data that needs to be "remembered"
till the next time you run the application.

/Lars Netzel

Nov 20 '05 #1
4 1536
Probably under C:\Documents And Settings\<yourid>\Application Data
--
Klaus H. Probst, MVP
http://www.vbbox.com/

"Lars Netzel" <no****@no.no> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
I just saw this program called Handy Backup 4.5 where you can add backup
jobs as such... and I wonder where you normally save data in an application.
I come from an ASP world and have started to get into Windows Forms and
Desktop programming and for me it's always been a Database-Way to go when
wanting to save data.. or in the Registry when it comes to usersettings. But in the application I was looking at I looked into the installation folder
and I could'nt see any big files, databases or anything big in the registry for the application so where do you save the Backup jobs and information
about them that you can create in the application?

I'm not asking to check into the program but I'd like to know what the
normal approach is to store application data that needs to be "remembered"
till the next time you run the application.

/Lars Netzel

Nov 20 '05 #2
But yeah... it's just that the progam I saw does'nt save anywhere where I
can see it..

I was thinking something more professional that creating a textfile in an
obvious directory

No I have been reading about Isolated Storage a while and that seems to be
the way to go for me..

/lars

"Klaus H. Probst" <us*******@vbbox.com> skrev i meddelandet
news:%2***************@tk2msftngp13.phx.gbl...
Probably under C:\Documents And Settings\<yourid>\Application Data
--
Klaus H. Probst, MVP
http://www.vbbox.com/

"Lars Netzel" <no****@no.no> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
I just saw this program called Handy Backup 4.5 where you can add backup
jobs as such... and I wonder where you normally save data in an

application.

I come from an ASP world and have started to get into Windows Forms and
Desktop programming and for me it's always been a Database-Way to go when wanting to save data.. or in the Registry when it comes to usersettings.

But
in the application I was looking at I looked into the installation folder and I could'nt see any big files, databases or anything big in the

registry
for the application so where do you save the Backup jobs and information
about them that you can create in the application?

I'm not asking to check into the program but I'd like to know what the
normal approach is to store application data that needs to be "remembered" till the next time you run the application.

/Lars Netzel


Nov 20 '05 #3
Take a look at the configuration block (available for free download from MS
and it includes source code)
"Lars Netzel" <no****@no.no> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
I just saw this program called Handy Backup 4.5 where you can add backup
jobs as such... and I wonder where you normally save data in an application.
I come from an ASP world and have started to get into Windows Forms and
Desktop programming and for me it's always been a Database-Way to go when
wanting to save data.. or in the Registry when it comes to usersettings. But in the application I was looking at I looked into the installation folder
and I could'nt see any big files, databases or anything big in the registry for the application so where do you save the Backup jobs and information
about them that you can create in the application?

I'm not asking to check into the program but I'd like to know what the
normal approach is to store application data that needs to be "remembered"
till the next time you run the application.

/Lars Netzel

Nov 20 '05 #4
I store my Application and User Settings in two classes in the application
and use the XMLSerializer to stream them out to, and read them in from a
settings.xml file.

User specific Settings go to Application.UserAppDataPath (Resolves to
C:\Documents and
Settings\[username]\ApplicationData\[CompanyName]\[ApplicationName]\[Version
])
Application wide Settings to go Application.CommonAppDataPath (resolves to
C:\Documents and Settings\All
Users\ApplicationData\[CompanyName]\[ApplicationName]\[Version]

I have a Function in my LoadSettings Function that searches the path for an
older Settings file, and moves it up to the current version if one doesn't
exist.

Probably pretty much exactly what you'll do with IsolatedStorage, just a
different directory to store it in.

"Lars Netzel" <no****@no.no> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
I just saw this program called Handy Backup 4.5 where you can add backup
jobs as such... and I wonder where you normally save data in an application.
I come from an ASP world and have started to get into Windows Forms and
Desktop programming and for me it's always been a Database-Way to go when
wanting to save data.. or in the Registry when it comes to usersettings. But in the application I was looking at I looked into the installation folder
and I could'nt see any big files, databases or anything big in the registry for the application so where do you save the Backup jobs and information
about them that you can create in the application?

I'm not asking to check into the program but I'd like to know what the
normal approach is to store application data that needs to be "remembered"
till the next time you run the application.

/Lars Netzel

Nov 20 '05 #5

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

Similar topics

2
12559
by: Peter Rilling | last post by:
How does Windows store passwords that it uses? For instance, when you install a service, you can provide it the username and password. This information is stored somehow so that at a later date...
5
4487
by: Guadala Harry | last post by:
What are my options for *securely* storing/retrieving the ID and password used by an ASP.NET application for accessing a SQL Server (using SQL Server authentication)? Please note that this ID and...
0
3080
by: SampathTangudu | last post by:
Hi, We are trying to use the Hash Tables for passing information from one aspx page to another aspx page. We are using the below code. IsolatedStorageFile isoStore =...
2
23583
by: John Wildes | last post by:
hello I was wondering if someone could point me in the direction of information on using app.config to store string variables. I have a couple of variables that store path information for file...
1
3393
by: rdemyan via AccessMonster.com | last post by:
I'm trying to implement a licensing scheme. There are three types of licenses: Trial - good for 30 to 60 days Interim - good for 1 year Fully Paid - no expiration Everything is working fine...
10
4225
by: Paul Cheetham | last post by:
Hi, I am developing an application that needs to store some machine-specific settings. The application is going to be published on the network in order to keep the clients on the latest version....
10
6796
by: Mike9900 | last post by:
Hello, I would like to store application expiration date in a file and store that file in a secure place, so the application can access the file for all the users on that computer. ...
3
2121
by: gordon | last post by:
Hi I am looking to store some details about a user's configuration choices, in particular the place where they have installed some data files, the OS that they use, and their Windows user name. ...
1
2293
by: Eric Sadoyama | last post by:
I have a database documentation question, but I am not even sure how to phrase it properly so I don't know where to start looking for answers. We are developing a database that is based on...
0
7033
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,...
0
7027
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6726
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...
0
6861
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...
0
4468
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...
0
2987
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...
0
1291
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 ...
1
557
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
170
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...

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.