In the project, you want to fill in all the name fields in the database modeled by Pd in the comment, and do not want to copy or paste a table, therefore, I checked some lazy and easy-to-use methods on the Internet. Originally, VBScript can be used to control objects in the PD for batch operations.
Start the PD file you want to modify, double-click the graph you want to modify, and activate it. Note that it is a graph, not a table under tables. Clic
1. Create an object
VBScript syntax for creating an object instance:
set variablename = CreateObject("Objectname")
Variablename is the variable used to save the object reference, and objectname is the type of the object to be created. Set tells VBScript to save an object reference instead of a common value. Ii. Reference of nested objects
In scripts or WORD macros, we often see structures similar to the
VBScript is the abbreviation for Visual Basic Script, the Visual Basic scripting language, sometimes abbreviated as a VBS. ASP Dynamic Web page is the default programming language, with ASP built-in objects and ADO objects, users will soon be able to access the database of ASP Dynamic Web page development technology.
VBScript is a Microsoft developed scripting language, can be seen as a simplified version
Make an Internet Explorer toolbar button with VBScript
Wen/Xu Xi
The various buttons on IE toolbars are not Microsoft's patents, and ordinary users are able to customize them, add buttons that they want to set up, and have a lot of information about how to add them. The specific implementation of the two kinds, one is the use of lengthy and complex VC or VB code program, this requirement for ordinary users is a bit too high, usually make people full h
HelpContext Property
Sets or returns the context ID of the Help file topic.
object.HelpContext [= contextID]
Parameters
Object
Required option. The Err object.
ContextID
Options available. Valid identifier of the Help topic in the Help file.
Description
If you specify a Help file in HelpFile , the helpcontext property is used to automatically display the Help topic for the identity. If both HelpFile and helpcontext are empty, check the number property. If it corresponds to a
Turn from: chinabyte
The above 第一、三、四、六 several algorithms have a common feature: either one of the languages has a unique function, or in regular expression matching and distance computing, the difference between the two languages is very large enough to become a very meaningful mixed language programming test project. This gives us two additional scenarios for testing these algorithms: calling inline JScript functions in VBScript as the base langua
The various buttons on the IE toolbar of the vbscript| button are not a Microsoft patent, as normal users can customize it, add the buttons you want to set up, and the way you add it, many of the data are described. The specific implementation of the two kinds, one is the use of lengthy and complex VC or VB code program, this requirement for ordinary users is a bit too high, usually make people full head fog and not to achieve the goal; the other is t
Using Loop statements
Loops are used to repeatedly execute a set of statements. Loops can be grouped into three categories: a class that repeats a statement before the condition becomes False , a class that repeats the statement before the condition becomes True , and another class repeats the statement at a specified number of times.
The following looping statements can be used in VBScript:
Do ... Loop: loops when (or until) the condition is Tr
VBScript process
A series of statements encapsulated in sub and End Sub statements
Does not have a return value
Available with parameters
Our subfunction.asp shows the use of sub, with the following code: Submysub (STR1, STR2) Response.Write (Str1Str2)End Submysub"Hello,", "world"Pagermysub ("Hello,", "world")%>VBScript functions
A series of statements encapsulated in functio
Method 1: define two scripts. One is javascript, and the other is vbscript. The function can be called directly.
Method 2: window.exe cScript (code, javascript/vbscript)
ExecScript ('msgbox "aaa", 64, "rock" ', 'vbscript ');
The following are the commonly used functions and their usage in VBScript.
1, getroproperty
Note: you use the getroproperty method to retrieve the current value of a test object property from a run-time object in your application.
In general, all objects can use this method to obtain the actual value of the runtime object.
Syntax: object. getroproperty (property, [propertydata])
For example, buttonname = browser ("QA home page "). Page ("
/* ------------------- ASP document reference set -----------------------*/
* --> Author: Crawler
* --> Time: 2007-4.28---2007-4.30)
* --> Contact: caolvchong@gmail.com
* --> Document function:
1. I reviewed ASP and deepened my understanding of ASP structure and ASP experience.
2. It can be used for ASP reference and self-written for reference.
This is Part 5: Common VBScript functions in ASP/* ----------------------- Common functions of
VBScript and Simple Form Verification
With Visual Basic Scripting Edition, you can perform a lot of form processing work on the server, or do not work on the server.
This is a simple example of client verification. The result of the HTML code is a text box and a button. Use the following code to view Microsoft (R) Internet Explorer:Created pageYou will see a text box with buttons next to it.
Simple VerificationSimple VerificationEnter 1 To 10 Between:
How to return an array of ActiveX controls written in Delphi to VBScript/JavaScript Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiAPI/html/delphi_20061120161640191.html
Everybody, it is easy to use Vbscript to call ActiveX to send a variant parameter. The content is an array, but in turn it has never been successful. Who knows how to implement the Delphi ActiveX Control to send the array content t
I have been in the software testing industry for many years, and I want to perform automated testing. I also know about VBScript. During the testing processSome applications are also applied, so let's talk about how to use Vbscript to develop automated testing.First, we will introduce several VBScript functions that can be used in automated testing and developmen
Should be miles requirements, but also as an example of class design, I put my design date class process out, written this article, for everyone to make a reference. I also hope this article can be a good way for us to write better and more classes. There are countless places in the article, please correct me.
(i) VBScript custom class
Simply put, a class is an object that has properties and methods. Customizing analogy C++,java in
object, and the Strmyvar = Objobject.methodname (Strmyvar) can be used instead of Strmyvar =functionname (Strmyvar). The writing is different, but the function is the same. An example of an attribute is the Expireabsolute in Object Response, Response.ExpiresAbsolute = CDate ("1 September 1999"). An example of the method is the Write method in Object Response, Response.Write "Hello world!".
A new feature of VBScript is that it can create new objects w
/*-------------------ASP Document reference set-----------------------* *
*--> Author: paramecium
*--> time: 2007-4.28---2007-4.30 (originally a manual written by oneself, now sent here)
*--> Contact: caolvchong@gmail.com
*--> Document Features:
1. Review the ASP, deepen the understanding of ASP structure and the experience of ASP
2. Can be used as an ASP reference, write their own, reference to more convenient
This is part five: the common functions of VBS
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.