


Browse articles by category
-
Alarms
-
Audit and diagnostic
-
Communication interfaces
-
Configuration environment
-
Data acquisition
-
DataVue/Data Export
-
Development kits
-
General
-
Historical data
-
HMI
-
Known issues
-
Other Products
-
PcVue installation
-
PcVue miscellaneous
-
Real time data
-
Sample projects
-
Scripting
-
Security bulletin
-
SnapVue
-
System
-
TouchVue
-
UDC
-
Upgrade issues
-
Useful tools
-
Version Information
-
WebVue
Alarms
Audit and diagnostic
Communication interfaces
Configuration environment
Data acquisition
DataVue/Data Export
Development kits
General
Historical data
HMI
Known issues
Other Products
PcVue installation
PcVue miscellaneous
Real time data
Sample projects
Scripting
Security bulletin
SnapVue
System
TouchVue
UDC
Upgrade issues
Useful tools
Version Information
WebVue
[KB1161] PcVue workspace adaptation on Windows resolution change
Applies to: PcVue version 12.0 onwards Summary: The decrease of Windows resolution makes PcVue reduce its workpace. How to readapt PcVue worspace if Windows resolution increases ? Details: A Typical […]
[KB857] RUN-TIME COLOR PICKER
Applies to: All versions of PcVue Summary: A sample project implementing a run-time color picker. Originator: LM Details: A sample project which allows the user to select a color from […]
[KB861] CHANGING AN IMAGE USING VBA
Applies to: PcVue 11.1 update and PcVue 11.2 update onwards Summary: A new VBA method, SetImage, allows the image file used in the Image drawing element to be changed programmatically.Originator: […]
[KB843] Controlling the Workspace using VBA
Applies to: PcVue 11.1 and 11.2 update. Summary: Two new VBA methods allow the Workspace size and position to be controlled programatically. Details: There has long been an issue when […]
[KB838] Populating the Grid with an SQL Request in VBA
Applies to: Versions of PcVue supporting VBA and the Grid control. Summary: How to display SQL Server trend table values in a grid control. With minor modifications this example could […]
[KB803] Incompatibility of the AITimer between PcVue 10.0 SP2 and 11.1
Applies to: PcVue 10.0 SP2 and 11.1 Summary: The AITimer of version 10.0 SP2 is incompatible with the AITimer of version 11.1.Originator: ND Details: If you install 10.0 SP2 on […]
[KB762] How to get/display the time with milliseconds using VBA
Applies to: All versions of PcVue Summary: There is nothing in VBA that will allow you to display the time with milliseconds. A simple solution is to call a system […]
[KB760] Troubleshooting PcVue Installation: VBA
Applies to: PcVue 10.0 and later Summary: Unexpected behavior during the PcVue VBA installation process. Originator: JM Details: VBA is not installed after a reboot was requested during the installation […]
[KB779] Connecting to an Access database using VBA and ADO
Applies to: PcVue 8.10 onwards Summary: A sample project including simple VBA routines to connect and manage an Access database using ADO (Active Data Objects) Details: The project includes sub-routines […]
[KB730] Changing the Color Palette programatically
Applies to: PcVue 10.0 onwards Summary: The color palette can be changed by loading an alternative palette file (PALCOL.DAT) using VBA. Details: The VBA method ThisProject.LoadColors allows alternative color palettes […]
[KB721] Workaround for VBA related handle leak
Applies to: PcVue 10.0 sp1 update (10.0.16061), 10.0 sp2 update (10.0.26008), 11.0 update (11.0.06032.9123) and later. Related articles: KB495 Summary: There is a handle leak from VBA (whether you use VBA […]
[KB719] Creation of Office 2013 document from PcVue VBA is not possible
Applies to: PcVue – all versions supporting VBA Summary: Office 2013 doesn’t install the component required to manipulate Office documents through VBA. This is a known problem and there is […]
[KB716] Accessing SQL Server Database through VBA
Applies to: All VBA versions Summary: This VBA module allows to send read and write requests to a SQL Server database, using the ADO VBA Reference. The script is embbeded […]
[KB690] Cypress Enable help files
Applies to: All versions of PcVue particulary 11 onwards Summary: The VBA-like scripting language called Cypress Enable was originally supplied with PcVue before VBA itself was integrated. The Cypress Enable […]
[KB682] Copy/Paste of a VBA symbol object
Applies to: PcVue – all versions supporting VBA Summary: If VBA symbol code of a duplicated symbol is not executed after a copy/paste, you need to check the symbol configuration. […]
[KB664] VBA and SCADA BASIC function integration
Applies to: PcVue version 8.20 onwards Summary: The Configure / Project / Settings / Run User Programs // Before initialization // After initialization properties – used to execute SCADA Basic […]
[KB657] How to use the AITimer in VBA
Applies to: PcVue version 8.0 onwards. Summary: How to use the AITimer, provided with PcVue, in VBA. Details: PcVue provides a component library called Arc Informatique Common Controls. So far […]
[KB607] Managing VBA events when a mimic object overlaps a template object
Applies to: PcVue all versions.PlantVue all versions.FrontVue all versions. Summary: This article explains the options for managing VBA events when a mimic template object and a mimic object overlap. Details: […]
[KB552] Chrono, UTC, Local hour in VBA
Applies to: PcVue all versions. Summary: This article contains a set of useful VBA functions for the conversion of datetime values from UTCtime to local time or Chrono values to datetime values and […]
[KB550] How to temporarily disable database archiving
Applies to: PcVue version 8.10 onwards Summary: This article describes how to pause and resume HDS database archiving using VBA. (For proprietary archive units you must use the SCADA Basic […]
[KB506] How to access a VBA graphic object
Applies to: PcVue version 8.10 onwards Summary: Syntax to access a graphic object using a string variable Details: Please note that the graphic object does not have to be ticked […]
[KB483] Opening mimics developed with a VBA version in an ENA version
Applies to: PcVue 7.20 onwards. Summary: If the project runs with the ENA (Enable Basic) version PcVue, but you have mistakenly modified it with a VBA version any modified mimis […]
[KB321] VBA function DoEvent
Applies to: PcVue all versions. Summary: This article describes how to use the VBA function DoEvents and warns about the possible problems that can occur when using it. Details: The […]
[KB313] How to restart a PcVue project – svrestart.exe
Applies to: PcVue version 7.00 onwards Summary: This article describes how to restart a PcVue project by using the executable “SvRestart.exe”.An attached project, made with version 8.2 of […]
[KB306] SCADA Basic function execution from VBA
Applies to: PcVue all versions. Summary: By forcing a variable in VBA code you can trigger a SCADA Basic function. By forcing a variable in SCADA Basic you can trigger […]
[KB164] VBA UserForms are not saved with mimics in ASCII format
Applies to: PcVue version 7.20 onwards. Summary: This article provides a work-around for the fact that when a mimic is saved in ASCII format, any VBA UserForm in it is […]
[KB163] UserForm cannot migrate between PcVue versions 7 and 8.
Applies to: PcVue version 7.20 VBA. Summary: This article indicates how to work around an incompatibility that affects VBA projects that contain UserForms. Solution: When you migrate a project from […]
[KB162] Restrictions on executing VBA scripts
Applies to: PcVue version 7.20d onwards.While the basic content of this article remains valid, details may have changed since it was written. Summary: This article describes how to configure PcVue […]
[KB161] Restriction on Symbols that Include VBA Code
Applies to: PcVue version 7.20a onwards. Summary: This article advises on a limitation on symbols that include VBA code. Details: If you create an instance of a symbol containing a […]
[KB160] Restart PcVue with SvRestart.exe and VB script
Applies to: From PcVue version 7.00 to version 8.00 (incl.) Summary: This article describes how to restart a project with a VBscript procedure to call Restart_PcVue. Details: Open the attach […]
[KB159] Mimic templates with VBA/Enable scripts
Applies to: PcVue version 7.20 onwards. Summary: This article describes how to overcome a limitation concerning mimic templates with VBA/Enable scripts. Details: You can associate a script with a mimic […]
[KB158] Incompatibility between VBA 6.2 and VBA 6.4
Applies to: PcVue version 8.00 SP3 onwards. Summary: This article identifies and gives a work-around for an incompatibility between versions 6.2 and 6.4 of Microsoft VBA. Solution: Until version 8.00 […]
[KB157] How to lock the Internet Explorer context menu for the Web Browser ActiveX
Applies to: PcVue version 7.00 onwards. While the basic content of this article remains valid, details may have changed since it was written. Summary: This article describes how to lock […]
[KB156] How to check whether a project is from a VBA version of PcVue
Applies to: PcVue version 7.20 to version 9.00. From version 10 onwards VBA was standard. Summary: This article describes how to tell from its mimic files whether a project came […]
[KB155] Defining an OLE DB Connection String for ADO Access via VBA
Applies to: PcVue version 7.20c onwards. While the basic content of this article remains valid, details may have changed since it was written. Summary: This article shows how to define […]
[KB154] Bindable properties of external ActiveX
Applies to: PcVue version 7.00 onwards. Summary: This article indicates how to identify which properties of an external ActiveX can be linked to variables from the variables tree. Details: When […]
[KB153] Adding a plug-in to VBA
Applies to: FrontVue all versions. PcVue version 7.20 onwards. Summary: This article describes how to add a powerful plug-in to VBA. Details: The VBA Editor enables you to add third […]
[KB152] Accessing extended attributes using VBA/Enable scripts
Applies to: PcVue version 7.20c onwards.While the basic content of this article remains valid, details may have changed since it was written. Summary: This article shows how to use VBA […]
[KB139] Date and time formats from SCADA Basic and VBA
Applies to: PcVue all versions. Summary: This article discusses discrepancies in the ways date-time formatting works in PcVue, SCADA Basic, VBA and animations. Details: Calculations of date and time do […]
[KB137] Retrieving memory information with Enable Basic
Applies to: PcVue version 7.00 onwards.While the basic content of this article remains valid, details may have changed since it was written. Summary: This article describes how to retrieve information […]
[KB136] Printing a Window with Enable Basic VBscript
Applies to: PcVue version 7.00c onwards.This article contains obsolete references. Summary: This article outlines methods for printing a Window (or Mimic) with VBscript. Details: There are three ways to print […]
[KB135] Launching an Excel workbook using an Enable Basic script
Applies to: PcVue version 7.00 onwards. This article contains obsolete references. Summary: This article describes how to launch a Microsoft Excel workbook using an Enable Basic script. Details: The sample […]