473,405 Members | 2,287 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,405 software developers and data experts.

A good way to store data/values? (vb.net, compact framework)

I am trying to write a personal app to keep a bank balance and
history.
The problem I'm haveing is finding a decent way to store the data on a
pocketpc under .net compact framewok useing vb.net.
I need to store type, date, description, and total for each
check/debit transaction as well as a balance and user settings.
My problem is that I am learning vb.net now and I'm not ready to move
into datbases yet so xml seems my only viable option, however even
with the full framework it requires work-arounds and hacks to
effectively use xml as an ini replacement. The reason is that xml
files are read only under .net. And the compact framework is even more
limited.

<NOTE>I have copied the rest of this message from another message I
posted on another forum.</NOTE>

I have actualy concidered other options, even thought about useing a
simple text file for each option/value.
That just seems like a realy dirty way to do it.
I have found a class file in another application example that offers
functions for read/write/edit of values in xml files but i'm not realy
great with reading other peoples code and figuring out how it works.
I'm still very new and trying to teach myself.
What bothers me is that the answer is rite there in that example app
and I can't figure it out. I have spent hours going over and over how
he uses the class to work with the xml files and just can't figure it
out. To an extent it's like a puzzle and I love the challange but it's
also easy to get frustrated with my owne ignorance.

It's a great sample app to learn several concepts includeing
networking, and cryptography under .net CF, I just can't figure it out
:)
If anyone else would like a look you can find it
here ( http://www.microsoft.com/downloads/...;displaylang=en )

As for me I may dig at it some more but for now I guess I will just
use a text file for each value and setting I need to store, I just
won't let anyone see it who may laugh at me :)

Thanks

EDIT:
Well once again I have been just a touch short sighted.
I just set down to map out a way to handle all my data in text files
and it's not going to be an option.
I need to be able to store a type, date, description, and total for
each transaction and I need to be able to access that data later for
my history table, not to mention store a balance total and all the
user settings. And thats just for the checks tab, i need to store an
equal amount of data for the deposits tab :)
The only way I can think of to do that with simple files is to use a
file for each value for each transation and increment the
filename_end# by 1 for each transaction then to access the data later
I would need to look for each value#.txt file's existance one at a
time untill file#.txt does not exist.
Even I can see the trouble with this meathod, first the number of
files created would be unreal, also the overhead of cheacking for,
opening, parseing, and closeing each file in order to populate my
history table would be sevear, especialy on a platform like a
pocketpc.

So I'm back to square one and would greatly apreciate any ideas.
I am more then happy to read for myself if anyone knows of a complete
idiots guide that would help.
Also If anyone could take a look at the class from the project sample
I posted earlier and show simply how to get, write, edit values using
it I would name my 3rd born after you, i'm sure it would be simple for
someone more vb lingual than me. :)
It has a desktop server app and a ppc client app. I am interested in
the way the client app uses the Settings.vb class.

Thanks again for allowing me to bloat this thread and for any help at
all.
Nov 21 '05 #1
0 2196

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

Similar topics

1
by: Asad Khan | last post by:
Hi, I have Visual Studio 2002 Enterprise Architecture Edition. I was wondering if anyone has any information on how I can develop applications for .Net Compact Framework using this IDE. I've heard...
2
by: paul | last post by:
I have developed an application for pocket pc that requires multiple forms to be open at any one time. The user is able to flick from one to the other, making changes to each as and when necessary...
4
by: André Giesing | last post by:
Hello NG! I've got a short question: Is there a difference of the internal representation of a Hashtable between the Compact Framework and the normal Framework? I've got the suspicion,...
1
by: David | last post by:
Hello. What limited possibilities has C# Compact Framework and where can I get good documentation about C# Compact Framework programming?
5
by: Kay-Christian Wessel | last post by:
I'm trying to use a certificate on my pocket PC device to access a WebService using VS2003/VS2005. I've been able to read the certificate of my Certificate Store, but I don't know how to use it...
2
by: George | last post by:
Hello everyone, I have used Visual Studio 2005 to create a C# .Net Compact Framework 1.0 application on Pocket Pc 2003 device. But when building the application, there are some errors dealing...
2
by: Greg Wood | last post by:
As a new member, I hope I am posting correctly. Bear with me if not ! I found a posting by Earle Oxner that very closely matches the situation we are in. Sadly, there were no replies to his post,...
2
by: Larry | last post by:
Hello, I am about to write an app for Pocket PC 2003 / Windows CE / Mobile 5 (don't know which yet) from which I need to query both SQL Server Express 2005 and SQLCe. I would like to be able to...
0
by: pawera | last post by:
Hi Everybody ! I`ve got a problem with developing application which is to be run on PDA (MIO A701 with WIndows Mobile 5). I`m trying to create application in Visual Basic NET using NET Compact...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.