Using HTA in vbscript

前端 未结 2 2039
灰色年华
灰色年华 2021-01-14 06:22

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

2条回答
  •  孤独总比滥情好
    2021-01-14 06:39

    An alternative to WScript.Echo would be to simply add content to the DOM:

    
    
    

    or if you want a dialogbox instead, you can use MsgBox()

    
    

    You can use Scripting.FileSystemObject without WScript

    
    

提交回复
热议问题