Nice, but (I haven’t looked thought all the code yet, but from what I see) your program tries to open a file on the local system. This is fine, except that if it is running as a partially trusted app it will throw a security error. The way around this is to open an Open File Dialog box and use the get the stream, not the file name to open the file. Same thing with saving (only use the Save File Dialog).
this bug is an OS bug, not mine, the bug also is out of our control, the OS should not allow users to running my app as a partially trusted app.
Does anyone else find this as hilarious as me?
BUG: Wont work unless run in full trust.
FIX: Run in full trust.
this is similar to
BUG: Your app are unable to save file to a read-only Flash USB stroage
FIX: Make sure the Flash USB stroage is writable.
can you find a better solution for the similar problems?