LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use windows API to open a file browser

I am trying to use the function of GetSaveFileNameA in comdlg32.dll to open a file browser.

 

But I do not know how to handle the parameters as http://allapi.mentalis.org/apilist/GetOpenFileName.shtml

 

May you give any suggestion? Thanks.

0 Kudos
Message 1 of 8
(4,760 Views)

Hi turbot,

see this link for more information.

 

Mike

0 Kudos
Message 2 of 8
(4,759 Views)
How to define the parameter of OPENFILENAME Structure. Thanks.
0 Kudos
Message 3 of 8
(4,753 Views)

Hi turbot,

you can create a cluster with the described data types, set it and connect it to the dll call.

 

Mike

0 Kudos
Message 4 of 8
(4,751 Views)

How to connect the cluster to the dll. There are only a few choice for the type of the dll parameter.

 

Thanks.

0 Kudos
Message 5 of 8
(4,713 Views)

Why can't you use the built-in File Dialog function?

 

This has been asked numerous times before have you tried a search?

0 Kudos
Message 6 of 8
(4,704 Views)
If you'd just search the forum for "GetOpenFileName", you'll find a link to
"Multiple File Selection Dialog".

Modify it (if you need too), and you're done.

Regards,

Wiebe.


0 Kudos
Message 7 of 8
(4,703 Views)
Quite a lot reference, but no exactly ones using comdlg32.dll, any suggestion?
0 Kudos
Message 8 of 8
(4,671 Views)