Simple tutorial of HTA on the GUI of VBS script (network collection and sorting)

Source: Internet
Author: User

Author: Xue jinglan
The toolbar, address bar, and menu bar in the web page are not displayed in this window. You can also use the vast majority of tags and scripts in html, this gives you more control over the interface design. (My God, when I saw this sentence, I was so excited. Isn't it a gui designed for vbs scripts ?)

Compared with a common HTML webpage, it has an HTA: APPLICATION tag, which provides a series of APPLICATION-oriented functions, allows you to control the user interface (UI) of this application ). The <HTA: APPLICATION> label is located in the <HEAD> label, which allows you to control, for example, whether a title bar is displayed in the contained window, or display the max & min button. <HTA: APPLICATION> tags also allow you to access customers' machines without worrying about security restrictions.

Object: HTA: APPLICATION-required tag.

Indicates that this HTML document is an HTA application object model.

Applicationname property-set the HTA name

Borde property-set the window border type. The default value is thick.

Thick

Specify the window as a thick border

Dialog window

Specify window as dialog box

None

The specified window has no border

Thin

Specify the window as a narrow border

BorderStyle properties-set the border format of the window. The default value is normal.

Normal

Normal border

Complex

Border of a combination of concave and convex formats

Raised

Protruding 3D border

Static

3D border

Sunken

Concave 3D border

Caption properties-set whether the title bar or title is displayed in the window. The default value is yes.

Icon properties-set the Icon of the application.

MaximizeButton properties-set whether to display the maximize button in the window. The default value is yes.

MinimizeButton properties-set whether to display the minimization button in the window. The default value is yes.

ShowInTaskBar property-set whether to display this application in the taskbar. The default value is yes.

SingleInstance property-sets whether the application can run only once at the same time.

This attribute is identified by the ApplicationName attribute. The default value is no.

SysMenu properties-set whether to display the system menu in the window. The default value is yes.

Version Attribute-set the application Version. The default value is null.

WindowState property-set the initial size of the window. The default value is normal.

Normal

Default size

Minmize

Minimize

Maximize

Maximize

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.