App startup key depress

Is it possible to read which keys were depressed when your Windows app is starting up, i.e. MS Access can be customized to run in a kiosk mode; starting with [shift] depressed opens in normal mode.

You could put this in the App.Run event:

If Keyboard.AsyncShiftKey Then
    'special shift-key mode activated
   'Special mode not activated
End If

Though this might have issues with timing.

Great! Thanks.

There is no Run event associated with the App object, I tried the Open event and that worked fine.

Whoops, App.Run is only for console apps. App.Open is the GUI equivalent.