I was testing some code, which will be available in a few days as part of a new release of the Auto FE Updater, which uses the Access shell function to start the Auto FE Updater.
I could hear the beep sound but I couldn’t see the customized form to display messages that I was expecting. So I went to task manager and cancelled the two occurrences of StartMDB.EXE. I tried it again and then, somehow noticed a little addition on my screen. See the screenshot below.
Of course I highlighted it in red for you.
Added. David Fenton rightfully pointed out it was too small to view so here’s just the lower left hand corner:
The heavy red lines obscure things a bit but basically what you see there is pretty much what I saw when trying to figure this out. End Added
I was quite mystified as to what was all happening and why I couldn’t see the form I was expecting to see. By a fluke I clicked on the three periods in the window title bar and was able to view the form. But I was still puzzled.
Kept on working and suddenly the Aha moment. (Where’s an image of a light bulb when you need one?)
Turns out the default value in Microsoft Access’s Shell WindowStyle parameter is to use the vbMinimizedFocus constant. This default puzzles me but no big deal. I used vbNormalFocus and all is well.
Updated to add the small middle graphic file and a paragraph of explanatory text.