OpenFileDialog - PocketPC Locks up

T

Todd Acheson

I have an application that I have written for the PocketPC that uses an
OpenFileDialog control. The application has been working fine for over a
year. Just within the last week, it always crashes on an attempt to open a
file.

The type of files it filters for opening are XML files. It uses the \My
Device\My Documents\<ApplicationName>\ as the starting point for opening a
file. Since it resides in My Documents, it will be synched with my desktop
pc.

I tried removing the <ApplicationName> folder completely to see if some sort
of corruption was happening. No luck. I get unresolved files in
ActiveSynch, and the error message is most interesting, as I have not come
accross it before. It says:

Cannot copy 'Text.xml'. make sure your mobile device has sufficient memory,
that the file is not set as read-only, and that you have permission to copy
this file type.

I have enought memory, and the file is not read-only. I don't know how to
confirm permissions though.

Does anyone have any insight to this dilemma?

-Todd
 
T

Todd Acheson

Less than 10KB.
I think I found my error.

I synch between work and home with one iPaq. Something in the folder
permssions went awry. I deleted the old folder from my synch folder,
created a new one witht he same name, copied the old info into it
and...wala, it works.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top