It is most likely cause by DEP yelling at your program.
I'm not sure if there is an API to add your program to the exception list. You can test it on one machine by going to Control Panel -> System - > Advanced -> Click on Performance - > DEP and then adding your program to the exception list.
If that doesn't help, the only other thing I thought of was this.
When you build and run the app on your machine does it give the same problem? If it does what exception does it throw? in that case put the OpenDialog code around try/catch blocks
Try
Catch Break as New
Endtry
That's the only way I could think of that would solve a problem.
ShawnCplus
Code Monkey
1,583 posts since Apr 2005
Reputation Points: 526
Solved Threads: 268