Setting a TextBox to allow only numeric values.
Question: How can I set up a TextBox object to allow only numeric values? Solution: To do so, you must write a script in the TextObject’s Change event. For example:…
Question: How can I set up a TextBox object to allow only numeric values? Solution: To do so, you must write a script in the TextObject’s Change event. For example:…
Question: How can I round the decimal places of the variables’ values when saving them in a Database? Solution: This is not recommended, but if you want to do it,…
Question: How can I display the InTime and OutTime information from an alarm occurrence a single register in E3 Browser? Solution: To do so, we suggest that you use the…
Question: How does the I/O Driver’s ShareServer property work? Solution: If this property is set to True, the driver shares its execution with the other I/O Driver objects that have…
Question: When storing alarms on the Database, does E3 create the tables automatically? Solution: Yes, it does. To do so, just click the Create Table button on the Alarm Server’s…
Autor
Mateus Machado
Question: How can I open a CHM file by setting a certain topic via E3? Solution: To do so, you must use the Viewer’s ExecuteExternalApp method. For example: Application.ExecuteExternalApp “hh.exe”,…
Question: Which is the VBScript’s version used on E3? Solution: E3 uses the version that is installed in the computer (C:\WINDOWS\system32\wscript.exe). Via E3, you can retrieve the version of VBScript…
Question: How can I set up the Viewer to be opened in a screen other than the initial screen set in the application? Solution: To do so, you must use…
Question: Can I use “On error goto” to debug scripts on E3? Solution: No, you cannot, because the VBScript does not support this function. However, you can use “On error…