ProjectOverwriteWarningEnabled Property

Description
Sets / returns whether the project overwrite warning will be displayed.

Syntax
Property ProjectOverwriteWarningEnabled As Boolean

Default Value
True

Return Value
True if the project overwrite warning is enabled, False if not.

See Also
.BuildProject Method

Remarks
By default, when the current project is not the same as the project in the controller, then a project overwrite warning message is displayed when the project is built and sent to the controller. Set ProjectOverwriteWarningEnabled to False when you don't want the overwrite warning message to be displayed. This is useful for when your application needs to switch projects used in the controller.

ProjectOverwriteWarningEnabled Example
VB Example:

' Disable the project overwrite warning  
m_spel.ProjectOverwriteWarningEnabled = False  
m_spel.Project = "c:\EpsonRC80\Projects\Project1\Project1.sprj"  

C# Example:

// Disable the project overwrite warning  
m_spel.ProjectOverwriteWarningEnabled = false;  
m_spel.Project = @"c:\EpsonRC80\Projects\Project1\Project1.sprj";