07-25-2006 11:14 AM
07-26-2006 04:21 PM
07-27-2006 11:19 AM
Hi Sara
Thanks for reply.
If a file exist I need to open the file to read the data in the file.
If a file does not exist I want to create a new file so I can write data to the file.
My problem seem to be coming from the file dialog box. If the file exist it does not set the Exist? flag to true.
If tried runnig the same code on a PC and the file dialog box works as expected. If the file exist it sets the the Exist? flag to true.
I'm attaching my code that I ran on my PC. It can also be used on a PDA.
Do I have the wrong idea about how the file dialog box is suppossed to work?
Thanks for your help.
Eric
07-30-2006 06:15 PM
07-31-2006 10:22 AM
07-31-2006 11:44 AM
Hi Sarah
I'm attaching a modified version of my Code that deals only with the File Dialog Box. Here are my observations.
Notes: When there is no file in the folder listed above select mode two creates a new file with out any problem.
When a file is in the folder with the file name listed above mode two tries to overwrite the current file and does not set the Exist Flag to true.
When a file is in the folder with the file name listed above mode zero selects the existing file but does not set the Exist Flag to true.
Once again I'm running this on an IPAQ 5550 with Microsoft Pocket PC Version 4.20.0 (Build 14053)
Processor: Intel (R) PXA255
Memory: 126.63 MB
Please load this on a PDA and let me know what you find.
Thanks for your help
Eric
08-01-2006 02:41 PM
08-01-2006 03:24 PM
Thanks Sarah
I'll give your workaround a try.
I appreciate your help.
Eric
08-01-2006 06:41 PM