KB-31216: Window for typing values.
Question: Is there a command to open windows that is similar to MsgBox, but with a field for typing text? Solution: Yes, this is what VBScript’s InputBox is for. Script…
Question: Is there a command to open windows that is similar to MsgBox, but with a field for typing text? Solution: Yes, this is what VBScript’s InputBox is for. Script…
Question: How can retrieve the number of records that have been returned by a query? Solution: To do so, you must use the RecordSet‘s RecordCount property. The example below shows…
Question: How can I change the name of an E3Browser’s columns? Solution: There are two ways to do so: Via E3Studio: Just access E3Browser‘s properties and click Set up button…
Question: Is there a manual with scripts examples and explanations about the VBScript’s properties, methods and parameters? Solution: You can use E3’s Scripts Reference Manual and the VBScript Reference Guide.
Question: How can I work with a function in E3 scripts? Solution: To do so, you must set the function with the structure: Function Name(parameter1, parameter2,.., parameterN) scriptEnd function Example: Sub…
Question: On Windows 2003 Server SP2, when executing scripts that work with Double data, a script error occurs with an Overflow message. How can I fix the problem?Solution: To do…
Question: How can I use the “ElseIf” clause in a script? Solution: To do so, just insert it into an “If”‘s loop. For example: If condition == “value”ActionElseIf condition2 ==…
Question: Can I add columns to a ListBox? Solution: Yes, you can. For example: Screen.Item(“ListBox1”).ColumnCount = 3Screen.Item(“ListBox1”).Clear()Screen.Item(“ListBox1”).AddItem “Row 1, Col 1″Screen.Item(“ListBox1”).List(0, 1) = “Row 1, Col 2” Screen.Item(“ListBox1”).List(0, 2) =…
Autor
Mateus Machado
Question:Can I extract a ZIP file via scripts? Solution: Yes, you can. For example: ‘ZIP file to be extracted:pathToZipFile=”C:\Folder1\MyZIPfile.zip” ‘Folder of destination:extractTo=”C:\Folder2\”‘Tests if the file existsset fso2 = CreateObject(“Scripting.FileSystemObject”)if fso2.FileExists(pathToZipFile)…