KB-35069: Loading figures into Treeview.
Question: How can I load figures into the MSCOMCTL Library’s Treeview control? Solution: To do so, you must first insert onto screen the MSCOMCTL Library’s ImageList object to store the…
Question: How can I load figures into the MSCOMCTL Library’s Treeview control? Solution: To do so, you must first insert onto screen the MSCOMCTL Library’s ImageList object to store the…
Question: Can I set the position of a MessageBox on screen (X and Y coordinates)? Solution: No, you can’t. The MessageBox is always displayed in the center of the screen. …
Question: How can I get the IP address of the computer via scripts? Solution: To do so, you can write a script similar to the one in the following example:…
Question:How can I configure a counter tag to add +1 to an internal tag, via scripts, every time it hits the Preset? Solution: To do so, create a script in…
Question: How can I set up a modal screen to be closed every time the user clicks a button? Solution: To do so, you must execute the Close(Code) method of…
Question: How can I tell which values are loaded in a ComboBox? Solution: To do so, you must use ComboBox’s ListCount property to find out the number of items, and…
Question: Can I synchronize clocks between computers just by using E3? Solution: Yes. In the example below, two computers running E3Server are synchronized. The first one is called SERVER1, and…
Question: The application’s frame has been horizontally split in two, and as a result there is an upper and a bottom splitter. However, Viewer opens another window when I try…
Question: How can I have some tags recorded in a database only when another’s I/O tag value turns 1? Solution: To do so, follow these procedures: Create a Historic with…
Question: How can I set up the script error messages to not be displayed on screen?Solution: To do so, use On Error Resume Next command at the beginning of the…