Possible "Application Stopped Working" message on Windows 8


Author
Message
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Under Windows 8, when your application is closed by the user, they might get a "Stopped working" message as below:

http://forum.strataframe.net/Uploads/Images/deef5258-c0c0-4c7f-8137-7a6e.png

This can be caused by the Security SessionLock if you have started it.
To fix it, add code to stop the Session Monitoring right after the RunApplication line in your AppMain.vb / Program.cs:

        '-- Run the application
        StrataFrameApplication.RunApplication()

        '-- stop SessionLock Monitoring to avoid error on exit on Windows 8
        SessionLock.StopSessionMonitoring()


This should stop Windows 8 complaining.

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