More About Hidden Controls
Previous Message:
I would like to make a Access Database with hidden buttons that can be accessed by pressing something like ctrl+Alt+b. How can I do this? Also while Im at it if i create a database using a access database the end user doesnt have to have access do they? (the buttons would be in the vb application)
Now couldn't I use this for that:
Code:
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Private Sub Form_Load()
Timer1.Interval = 50
End Sub
Private Sub Timer1_Timer()
If GetAsyncKeyState(vbKeyControl) And GetAsyncKeyState(vbKeyEscape) Then command1.show
End Sub
Or something simular?