Form-level Security causing application to hang/disappear


Author
Message
Kirk M Sherhart
Kirk M Sherhart
StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)
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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search