While using HTA userform for VBscript, I found that HTA doesn’t support WScript and its objects/methods.
Is there any alternate way of creating userform or is thery any way to make HTA support WScript?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An alternative to
WScript.Echowould be to simply add content to the DOM:or if you want a dialogbox instead, you can use
MsgBox()You can use
Scripting.FileSystemObjectwithoutWScript