Source code VB 6.0 Untuk Menampilkan Shutdown Dialog??


Di bawah ini adalah source code sederhana untuk menampilkan shutdown dialog.

  • pertama buka program vb 6.0
  • buat satu form
  • kemudian copy-paste source code dibawah diform1 yg dibuat

‘—copy here—

Private Declare Function SHShutDownDialog Lib “shell32” _
Alias “#60” (Byval sParam As Long) As Long

Private Sub Form_Load()
SHShutDownDialog 0
End Sub

  • setelah source code dikopi ke form1, kemudian project disave
  • setelah itu di Run

—Selamat Mencoba—

Iklan

Tinggalkan Balasan

Please log in using one of these methods to post your comment:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s