中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-02 01:36
48,037 topics / 350,122 posts / today 2 new / 48,250 members
DOS批处理 & 脚本技术(批处理室) » How to use VBS to create a form that contains buttons, text boxes, and message boxes?
Printable Version  1,630 / 9
Floor1 hdshjffdd Posted 2006-08-04 08:50
初级用户 Posts 53 Credits 131
How to use VBS to create a form that includes buttons, text boxes, and message boxes?
Floor2 3742668 Posted 2006-08-05 19:22
荣誉版主 Posts 718 Credits 2,013
Floor3 electronixtar Posted 2006-08-06 18:38
铂金会员 Posts 2,672 Credits 7,493
Keywords: AutoIt

This thing is really very powerful!
Floor4 hdshjffdd Posted 2006-08-11 22:50
初级用户 Posts 53 Credits 131
My English is not good, I don't know how to use it.
Floor5 electronixtar Posted 2006-08-11 23:13
铂金会员 Posts 2,672 Credits 7,493
Using vbs's InternetExplorer.Application is also okay. Do you know how to write HTML directly?
Floor6 zh159 Posted 2006-08-12 00:34
金牌会员 Posts 1,467 Credits 3,687
These past two days I have indeed learned to use InternetExplorer.Application to create a form, and I can perform multiple variable settings within the form. However, I discovered a small issue with using a BAT to generate a VBS script from variable data and then generating an HTML form: when you haven't opened any IE windows, the generated HTML form automatically appears in front of the BAT's CMD window; but if there are IE windows open, the generated HTML form will be displayed behind the BAT's CMD window.
Floor7 electronixtar Posted 2006-08-12 10:36
铂金会员 Posts 2,672 Credits 7,493
Then still use hta, with greater permissions
Floor8 zh159 Posted 2006-08-12 11:35
金牌会员 Posts 1,467 Credits 3,687
Originally posted by electronixtar at 2006-8-12 10:36:
Then still use HTA, which has more permissions

Another incomprehensible HTA
Floor9 electronixtar Posted 2006-08-12 12:36
铂金会员 Posts 2,672 Credits 7,493
Changing a .html file to .hta makes it an HTA.
Floor10 3742668 Posted 2006-08-12 12:53
荣誉版主 Posts 718 Credits 2,013
Originally posted by zxcv at 2006-8-12 00:34:
These days I have learned to use InternetExplorer.Application to create forms, and can perform multiple variable settings in the form

But I found a way to generate a VBS script from a BAT with variable data and then generate an HTM...


AppActivate Method
See Also
Run Scripts | WshShell Object | SendKeys Method
Activates an application window.

object.AppActivate title
Parameters
object
WshShell object.
title
Specifies which application to activate. It can be a string containing the title of the application (the same as it appears in the title bar) or the process ID


------------Excerpted from "Microsoft Windows Script Technology"
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023