Forum Discussion
Jlorbz
Jul 22, 2026Tin Contributor
Msgbox or Modal window Crash on PC Sleep
This has been an issue for a couple of years, but I haven't spent too much time trying to solve it because I thought it would eventually go away. It hasn't and it is becoming worse as I develop other parts of my application.
Situation: When a msgbox (or modal window) is open and the PC sleeps, the application hangs upon PC awake. There's no way to get out it with ending the process.
To replicate:
- Create and save blank database
- Create one module with a single public test function
- Enter msgbox "Hang Test", vbOkOnly
- Hit F5 to run the code. The message box pops up. Leave it.
- Put PC to sleep manually with windows | power | sleep
- Awaken PC, Access is now frozen.
GPT provides a lot of explanations for this behavior, but it doesn't make sense and must be something that can be addressed.
Windows 11, Version 2606 (Build 20131.20126 Click-to-Run)
No RepliesBe the first to reply