|
-
Jan 26th, 2007, 02:04 AM
#1
Thread Starter
Addicted Member
Pocket PC Use XML Database ?
Can VB.NET 2003 For Pocket PC use the XML File to be Database not use Web Client ?
if it can. can you give me the tutorial for this Problem ?
i has been try for this application, but i have problem on the Path (File Directory) XML File not found.
-
Jan 28th, 2007, 03:38 AM
#2
Frenzied Member
Re: Pocket PC Use XML Database ?
There should be no problem. What is your path, and are you sure the file exists in that path?
Pete
-
Jan 28th, 2007, 09:41 PM
#3
Thread Starter
Addicted Member
Re: Pocket PC Use XML Database ?
my problem on the path location. when i start my program, then i try read the xml file there error FileNotFound. it's always happend.
can you have the sample for my problem ?
-
Jan 29th, 2007, 03:56 AM
#4
Frenzied Member
Re: Pocket PC Use XML Database ?
I ask again, what is your path set to?
-
Jan 29th, 2007, 04:24 AM
#5
Thread Starter
Addicted Member
Re: Pocket PC Use XML Database ?
this my code :
VB Code:
Function readFileXML() As Boolean
Try
Dim reader As New XmlTextReader("My Documents\data.xml")
While reader.Read()
MsgBox(reader.Name)
End While
Return True
Catch ex As Exception
MsgBox(ex.Message)
Return False
End Try
End Function
i save on my document directory.
but when i start my program i got the error : FileNotFound
how to set directory on pda ?
-
Jan 29th, 2007, 07:30 AM
#6
Frenzied Member
Re: Pocket PC Use XML Database ?
Hi,
that code looks correct so I suggest data.xml does not exist in your my documents folder.
You doing this on a device or emulator?
Pete
-
Jan 29th, 2007, 09:45 PM
#7
Thread Starter
Addicted Member
Re: Pocket PC Use XML Database ?
It i do on Emulator.
Now i know, that we must have data.xml on pocket pc.
and whan i start my program and show the error becouse the data.xml there on my documents folder(Desktop not on PDA).
thanks
-
Jan 30th, 2007, 02:15 AM
#8
Frenzied Member
Re: Pocket PC Use XML Database ?
Hi,
your desktop is not available to the emulator, so it will not find files on your PC.
Copy the files to the emulator, or preferably, use a device
Pete
-
Jan 30th, 2007, 09:48 PM
#9
Thread Starter
Addicted Member
Re: Pocket PC Use XML Database ?
ok thank you pete for your answer.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|