Checking if a file exists When i press on Next in a dialog
Hi all
I have made a dialog where the user should enter the path of a folder.
The path is saved in a property
I want to check if there's a certain file ( program.exe) exists in this folder.
If yes nothing happens
If no the user should be prompted that the file does not exist.
Note that i want to implement this scenario after the user enters the path or when the user presses next in the dialog where the path is entered.
i have found a vbscript to check for a file if it exists. But i don't know how can i call it when "next" is pressed. i need also to know where can i insert the script.
Beside that is the path saved in the property directly after the user enters the path in the editfield or is it done in the execute immediate sequence?
Thanks in advance
Best Regards
I have made a dialog where the user should enter the path of a folder.
The path is saved in a property
I want to check if there's a certain file ( program.exe) exists in this folder.
If yes nothing happens
If no the user should be prompted that the file does not exist.
Note that i want to implement this scenario after the user enters the path or when the user presses next in the dialog where the path is entered.
i have found a vbscript to check for a file if it exists. But i don't know how can i call it when "next" is pressed. i need also to know where can i insert the script.
Beside that is the path saved in the property directly after the user enters the path in the editfield or is it done in the execute immediate sequence?
Thanks in advance
Best Regards
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
bkelly
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.