Sorry for digging out old topic, but i have the same problem. I have some code that is working in desktop application but i nedd to do the same in Compact Framework. Did you find solution?