Kamis, 17 Juni 2010

0

[VB] Mengetahui tipe startup windows

  • Kamis, 17 Juni 2010
  • Nurkholish Ardi Firdaus
  • Share


  • Private Declare Function GetSystemMetrics Lib "user32" _
    (ByVal nIndex As Long) As Long
    Const SM_CLEANBOOT = 67

    Private Sub Form_Load()
    Select Case GetSystemMetrics(SM_CLEANBOOT)
    Case 1: MsgBox "Windows di start dalam Safe Mode"
    Case 2: MsgBox "Windows di start dalam Safe Mode dengan dukungan Network"
    Case Else: MsgBox "Windows di start normal"
    End Sub
    End Select

    Jangan Lupa Komentar Yaa..
    Related Posts Plugin for WordPress, Blogger...

    0 Komentar Untuk “[VB] Mengetahui tipe startup windows”

    Posting Komentar

    Berikan komentar positif tentang artikel yang sederhana ini niscaya sobat akan mendapatkan balasannya. Hehehe

    Subscribe