04-14-2015 11:09 AM
How do I restrict a user to a specified folder and it's files when making a file selection.
tks, Terry
04-14-2015 11:29 AM
Browse option. but the user can change the settings on the fly. If you MUST restrict the user you need to code up your own "Pseudo browser"
04-14-2015 11:02 PM
As Jeff notes, you can use the Browse Options to (a) restrict the choice to Files and/or Folders, New or Existing, etc., and can also set the initial folder from which the User can choose. While you can't easily prevent him/her from going outside your boundaries, you can analyze the choice and simply reject it, saying "Try Again, and Stay In This Folder!!!". Of course, if you do this, your User might not say "Thank You" ...
Bob Schor
04-15-2015 07:56 AM
I've seen several examples over the years on how to do this, but I can't seem to find any of the complete ones. Attached is one method using VIs from the LabVIEW 8.2 era, I'm sure I found the VIs somewhere on the forums but I can't find where at the moment.
Anyway give the main a directory and it will populate a tree. With this you can limit the files or folders the user has access to.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord