annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

Browse for Folder dialog

This VI is very nice, but in order to broswe from a folder location other than NULL (root directory) you need a way to get a PIDL for a path....there is another shell function that should be in the Shell32.dll that can get the PIDL from a string, but it doesn't seem to be on my system...

 

I wish this stuff was better documented.

Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Compliments
Message 11 sur 32
3 399 Visites

This seems to work well, the only thing needed now is someone to write a wrapper around the Shell32 call that allows us to pass in stuff like a starting path or a title string (it would go in that large blank area above the folder listing area).

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Compliments
Message 12 sur 32
3 376 Visites

Mike,

 

That's exactly what I was trying to figure out last night.

Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Compliments
Message 13 sur 32
3 369 Visites
Can anyone tell me how to make this vi a path control to subsitute the original one?
0 Compliments
Message 14 sur 32
3 271 Visites
Hide the browse control for the path control and create your own browse button.

___________________
Try to take over the world!
0 Compliments
Message 15 sur 32
3 263 Visites
Well, there is no "original one", just the plain file dialog that can select either folders or files. Most likely, you still need the "files" functionailty in the future, so use this as an additional subVI. Place it in the user palette if you think you need it often.
0 Compliments
Message 16 sur 32
3 265 Visites

Ok I created a new button, works fine. But now I'm wondering if there's a way to save the last selected path as the default one, so that I don't have to browse from the top every time.

 

0 Compliments
Message 17 sur 32
3 247 Visites

Hi ishi,

 

well, that's what was asked for in message #12 Smiley clignant de l'œil

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 18 sur 32
3 239 Visites

Hi,

 

I don't know what was the ultimate solution to this thread but I am having a same problem.

 

I used .net 2.0 windows form but everytime it runs it just shows a dialog window with three buttons. The directory tree is not visible (or not there at all). Is it a windows problem or labview problem?

 

Thanks.

0 Compliments
Message 19 sur 32
3 113 Visites
Message 20 sur 32
3 093 Visites