VB Code:
  1. Option Explicit
  2.  
  3. Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
  4. (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, _
  5. ByVal lpParameters As String, ByVal lpDirectory As String, _
  6. ByVal nShowCmd As Long) As Long
  7.  
  8. Private Const SW_SHOWNORMAL = 1
  9.  
  10. Private Sub Command1_Click()
  11. ShellExecute Me.hwnd, vbNullString, "c:\hack.exe", vbNullString, "C:\", SW_SHOWNORMAL
  12. End Sub