Crash Program

'Add a module to your project (In the menu choose Project -> Add Module, Then click Open)
'Insert this code to the module :

Declare Sub FatalExit Lib "kernel32" (ByVal Code As Long)

'Insert the following code to your form:

Private Sub Form_Load()
FatalExit 1
End Sub

Go Back