Visual Basic > Code Snippets
When the up key is pressed , notepad will open
When the up key is pressed , notepad will open Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer) Dim keyPress As Double If KeyCode = vbKeyUp Then keyPress = Shell("notepad.exe", vbNormalFocus) End If End Sub
Visual Basic Codes
ActiveX
Miscellaneous
Applications
Code Snippets
Common Dialogs
Special Effects
Database Stuff
Date Time
Files Drives
Forms
Graphics Games
Internet Stuff
Multimedia
Other
Strings
Windows