Di bawah ini merupakan fungsi untuk men-shutdown, restart, log-off sebuah komputer.Option ExplicitPrivate Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, ByVal dwReserved As Long) As LongPrivate Const ENDSESSION_LOGOFF As Long = &H80000000Public...
Sunday, April 4, 2010
VB6 Code - Fungsi Shutdown, Restart, Log-off
READ MORE - VB6 Code - Fungsi Shutdown, Restart, Log-off
Labels:
Windows
VB6 Code - Mengetahui Lama Windows Dijalankan
Fungsi VB6 untuk mengetahui berapa lama windows telah dijalankan.Option ExplicitPrivate Declare Function GetTickCount Lib "Kernel32" () As LongPrivate Sub Timer1_Timer() Text1.Text = Format(GetTickCount, "0") & " milisceconds" Text2.Text =...
Labels:
Windows
VB6 Code - Memperoleh Time Out Screen Saver
Di bawah ini merupakan fungsi VB6 untuk memperoleh/mengetahui time out screen saver. Adapun kodenya di bawah ini:Option ExplicitPrivate Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam...
Labels:
Windows
Saturday, April 3, 2010
VB6 Code - Fungsi Untuk Merubah Desktop Wallpaper
Di bawah ini merupakan fungsi VB6 untuk merubah desktop wallpaper. Bagaimana implementasinya dalam Visual Basic 6.0?Option ExplicitPrivate Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal...
Labels:
Windows
Subscribe to:
Posts
(
Atom
)