VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Check how your windows booted using GetSystemMetrics API

by Karthikeyan (187 Submissions)
Category: Windows API Call/Explanation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 1st November 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Check how your windows booted using GetSystemMetrics API

Rate Check how your windows booted using GetSystemMetrics API



'Check booted manner
x = GetSystemMetrics(67)
Select Case x
Case 0
MsgBox "Normal Boot"
Case 1
MsgBox "Safe mode"
Case 2
MsgBox "Safe mode with Network"
End Select
End
End Sub

Download this snippet    Add to My Saved Code

Check how your windows booted using GetSystemMetrics API Comments

No comments have been posted about Check how your windows booted using GetSystemMetrics API. Why not be the first to post a comment about Check how your windows booted using GetSystemMetrics API.

Post your comment

Subject:
Message:
0/1000 characters