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.
Printable View
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.
There should be no problem. What is your path, and are you sure the file exists in that path?
Pete
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 ?
I ask again, what is your path set to?
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 ?
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
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
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
ok thank you pete for your answer.