Group: Forum Members
Posts: 41,
Visits: 259
|
I am trying to add security to an existing application. In one form, I've added code to the form's CheckSecurity event. If I return a PermissionInfo object set to GRANT, everything works as expected. If I set the PermissionInfo to DENY, along with a message, then the message is displayed correctly but the application just hangs/disappears after the MessageForm closes. Nothing. Zip. The VS2008 debugger shows the application is still running, but the Gateway window is not re-displayed, as normal for my app.
The FormClosing and FormClosed events don't fire either.
Any ideas about where to look?
TIA
|