I have a Dialog with browse buttons which calls the BrowseDlg to allow the user to select some folders for special purposes.
Then the results are placed in an EditBox.
How do I validate the results of the Property changed by the EditBox, and if the selected folder is not permitted, (such as under VISTA the user selecting a Windows protected folder as location to store changable data of a legacy application), inform the user and restore the EditBox to the previous value?
I assume I would use an ActionData=CustomAction script in the Subcribed Events which can examine the value of a Property the EditBox uses and then change it to a previous value if needed.
FOLLOW US
Get the latest news in Application Packaging