From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-03-2011 03:14 AM
Hi guys,
This must be pretty trivial, but I can't find a way to do it.
I just want to add a button on my vi, which opens up a folder to browse at a known path.
So lets say I generate reports into the following folder, c:\Temp, I wanna click on a button and it'll open up the Temp folder for browsing as though I went Start->run->C:\Temp
Solved! Go to Solution.
06-03-2011 03:26 AM
Use an event structure to look for the button press. In the event use something like the following:
Ian
06-03-2011 04:13 AM
06-03-2011 05:02 AM
Thanks Ian, should've thought of that, works like a charm.
06-03-2011 07:33 AM
Capture the button press & place the "File I/O>>Advanced File Functions>>File Dialog" in that event case. Wire the desired path as the start path.
06-03-2011 07:47 AM
No, Ian got it right hence why I marked this as solved a few hours ago.
I dont want to get a path to a folder to use in Labview (if so I would have use a file dialog like you suggested), I wanted to purely open a folder in Wnidows as though I'm using explorer - thanks Ian.