by Anonymous (267 Submissions)
Category: Windows System Services
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Fri 1st January 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Determine the Windows Startup Mode
API Declarations
Public Const SM_CLEANBOOT = 67
Case 1: MsgBox ("Safe Mode.")
Case 2: MsgBox ("Safe Mode with Network support.")
Case Else: MsgBox ("Windows is running normally.")
End Select