04-16-2010 03:56 AM - edited 04-16-2010 03:56 AM
Hello,
It's a bit evergreen but Istill haven't figured it out. I would really like to use the native Windows FOLDER dialog since the LabVIEW one is too confusing for the users. All thelinks here on the forum doesn't lead to satisfying results
Hasanybody accomplished that? It has to be:
Has tobe MODAL
I should be able to set start Path
(Set HeaderString)
(Set type)
(CreateNew Folders)
Thanks for any help
04-16-2010 05:04 AM
04-16-2010 05:19 AM
04-16-2010 10:20 AM - edited 04-16-2010 10:22 AM
04-16-2010 01:22 PM
As far as I know, you have to deal with a callback for the SHBrowseForFolder function. This would be easier to do with a simple wrapper DLL.
Or, you could use the .NET method. See attached example. Note that the VI is configured to run in the "User interface" thread.
04-17-2010 03:37 AM
Hello Smercurio, thanks for that suggestion. I know the .NET way but that wouldn't work on all of the machines (some of them have W2000 and no .NET). But the suggestion with the wrapper might work. I am just wondering how to make it modal then since the function expects handle of a window. It then becomes modal to it and all my tests showed the window modal only to it but not to the rest of the vis…but I guess I will have to test that.
Before I start digging my Visual Basic skills to create such a dll has anybody done that before (dll with the folder dialog)? Thanks
04-18-2010 04:04 AM - edited 04-18-2010 04:09 AM
04-19-2010 04:38 AM
04-20-2010 09:38 AM - edited 04-20-2010 09:40 AM