I go through all of the trouble to configure the Browse options for a Path Control, but sometimes those wacky users just plain forget to browse for a file before running a VI or I would like certain events to trigger a File Dialog. It is easy to trap the Empty Path or Not a Path default value and launch a File Dialog, but here it gets a bit annoying:
1) Either start dropping Express VIs, or dig out the old File Dialog Primitive.
2) Rejigger all of the settings (prompt, start path, pattern, folder or file, new or existing....)
3) Write the value back to the control
I would like it if instead I could invoke a new 'Browse' method which would launch the File Dialog as if the user had clicked the browse button. I would not complain if the method returned the value of the path and a Boolean for Cancel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.