Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


Visual Basic Programming Code Examples

Visual Basic > Code Snippets Code Examples

When the up key is pressed , notepad will open

1 2 3 4 5 6 7 8
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