|
|
|
|
|
Dicas
|
|
Visual Basic (Miscelâneas)
|
|
|
Título da Dica: Finalizando o processo do seu aplicativo
|
|
|
|
Postada em 9/5/2005 por Josefh Hennyere
Private Declare Sub ExitProcess Lib "kernel32" (ByVal uExitCode As Long) Private Declare Function GetExitCodeProcess Lib "kernel32" (ByVal hProcess As Long, lpExitCode As Long) As Long Private Declare Function GetCurrentProcess Lib "kernel32" () As Long Private Sub Form_Load() ExitProcess GetExitCodeProcess(GetCurrentProcess, 0) End Sub
|
|
|
|
|