Warning

 

Close

Confirm Action

Are you sure you wish to do this?

Confirm Cancel
BCM
User Panel

Site Notices
Posted: 10/27/2004 7:27:47 PM EDT
I am trying to develop a program for the pocket PC written in C# that allows the user to enter where their shots are hitting on a target and then stores the data and calculates MOA for the day.  I am making this because of my inability to remember how I shot the day or week before with different rifles.  With this program I could get more done per range trip and track how Im shooting.

My question is fo you know the easiest way to store the data,  I pretty much have the rest written, I just need to some help in this area.  I am a newb programmer so any help would be appreciated!
Link Posted: 10/27/2004 7:29:57 PM EDT
[#1]
Store the data in XML files on the device.  .Net's XML support is pretty impressive.
Link Posted: 10/27/2004 7:30:50 PM EDT
[#2]
Ive been trying to figure out XML serialization, but it seems pretty tricky. I need to find a way to serialize an entry object that includes an arraylist into XML
Link Posted: 10/27/2004 7:38:17 PM EDT
[#3]
First, assemble a DataSet (ds) and then do this to write it:

ds.WriteXml(filename, XmlWriteMode.WriteSchema);
Link Posted: 10/27/2004 7:44:21 PM EDT
[#4]
thats my idea, but more like a digital NRA data book I'm using VB.net
Link Posted: 10/27/2004 7:52:03 PM EDT
[#5]
Thanks kill-9...Im gonna give it a whirl.
Link Posted: 10/27/2004 7:53:36 PM EDT
[#6]

Quoted:
Thanks kill-9...Im gonna give it a whirl.



OK, I'm heading to bed, but if you run into problems IM me and I'll get back to you in the morning.
Link Posted: 10/27/2004 8:33:46 PM EDT
[#7]
Link Posted: 10/27/2004 8:37:49 PM EDT
[#8]
Link Posted: 10/27/2004 9:26:01 PM EDT
[#9]
Sweetness! thanks DVD tracker... that worked badass.   If I get this program working like I want it maybe I can donate it too ARFCOM and people can improve on it.  
Link Posted: 10/27/2004 9:56:49 PM EDT
[#10]
Wait, now Im running into a new problem,  the bullet hole objects that I am including inside an arraylist within the Entry object cannot be serialized.  The debugger says I should use the XMLInclude to fix the problem....any hints on this?
Link Posted: 10/28/2004 3:34:37 AM EDT
[#11]
Close Join Our Mail List to Stay Up To Date! Win a FREE Membership!

Sign up for the ARFCOM weekly newsletter and be entered to win a free ARFCOM membership. One new winner* is announced every week!

You will receive an email every Friday morning featuring the latest chatter from the hottest topics, breaking news surrounding legislation, as well as exclusive deals only available to ARFCOM email subscribers.


By signing up you agree to our User Agreement. *Must have a registered ARFCOM account to win.
Top Top