Windows – Creating a Windows checkbox in a VBScript that will be executed by cscript.exe


If I have a VBScript like…

inputControl1 = InputBox("Hello World")

How can a check box be created in there rather then the InputBox?

I know VBScript itself does not have a checkbox control like the InputBox, but is there some library I can use to do something like the following?

inputControl1 = CreateObject("library.checkboxcontrol")

Best Solution

Couldn't you use a yes/no msgbox instead?

dim Answer
Answer=msgbox("Your question here",4)