In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "how to use objects in VBScript". In daily operation, I believe many people have doubts about how to use objects in VBScript. I have consulted all kinds of materials and sorted out simple and easy operation methods. I hope to answer your doubts about "how to use objects in VBScript"! Next, please follow the small series to learn together!
use object
Whether you use ActiveX? Control (formerly OLE Control) or Java? Microsoft Visual Basic Scripting Edition and Microsoft? Internet Explorer handles them all the same way. If you are using Internet Explorer and have these controls installed in the ActiveX library, you will see a page made with the following code.
Tags are used to contain objects and tags are used to set initial values for object properties. Using tags is similar to setting initial property values for a form control in Visual Basic. For example, the following code adds ActiveX label controls to a page using and tags:
As with any form control, you can get properties, set properties, and call methods. For example, the following code contains a control that operates on two properties of a label control:
The label text can be changed through the event procedure of the cmdChangeIt button on the defined form:
The code confines references to controls and values to the form, similar to the code in the simple validation example.
There are multiple ActiveX libraries? Control is available for Internet Explorer. You can find all the information about properties, methods, and events there, as well as information about control class identifiers (CLSIDs) on programming reference pages. You can also find more information about tags on the Internet Explorer 4.0 Author's Guide and HTML Reference page.
-----------------------------------------------------------------------
Note that earlier versions of Internet Explorer required the classid attribute to be enclosed in curly braces ({}), which did not comply with the W3C specification. Using curly braces in the current version results in the message "This page uses an out-of-date version tag."
At this point, the study of "how to use objects in VBScript" is over, hoping to solve everyone's doubts. Theory and practice can better match to help you learn, go and try it! If you want to continue learning more relevant knowledge, please continue to pay attention to the website, Xiaobian will continue to strive to bring more practical articles for everyone!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.