PromptForOverwrite Property

TestStand 2017 Help

Edition Date: November 2017

Part Number: 370052W-01

»View Product Info

Download Help (Windows Only)
NI TestStand 2014 Help
NI TestStand 2014 SP1 Help
TestStand 2016 Help
TestStand 2016 SP1 Help
TestStand 2017 Help

Syntax

ApplicationMgr.PromptForOverwrite

Data Type

PerformActionOptions

Use the following constants with this data type:

  • PerformActionOption_No–(Value: 1) Specifies to not perform an action.
  • PerformActionOption_Prompt–(Value: 2) Specifies to prompt the user to determine whether to perform an action.
  • PerformActionOption_Yes–(Value: 0) Specifies to perform an action without prompting the user.

Purpose

Specifies whether the Application Manager control makes a backup of a file when you save a sequence file over an existing file that has an older or newer format. When this property is PerformActionOption_Yes, the Application Manager control backs up the existing file before saving it. When this property is PerformActionOption_No, the Application Manager control saves over the existing file without backing it up. When this property is PerformActionOption_Prompt, the Application Manager control prompts you to choose whether to back up the existing file.

Remarks

The value of this property persists in the application configuration file.


See Also

ApplicationMgr.ConfigFile

WAS THIS ARTICLE HELPFUL?

Not Helpful