Attribute VB_Name = "DisableStickyKeysPromptRegCheck"
Option Explicit

Public Sub DisableStickyKeysPromptRegCheck()
    Dim wsh As Object
    Dim regPath As String
    Dim value As Variant

    Set wsh = CreateObject("WScript.Shell")
    regPath = "HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys\Flags"

    On Error Resume Next
    value = wsh.RegRead(regPath)
    On Error GoTo 0

    If IsEmpty(value) Then
        MsgBox "Value not set:" & vbCrLf & regPath, vbExclamation, "Disable Sticky Keys Shortcut Prompt"
    Else
        MsgBox "Disable Sticky Keys Shortcut Prompt" & vbCrLf & regPath & " = " & value, vbInformation
    End If
End Sub