01-24-2009 12:00 PM
It's a little hard to find a way to make a dialog to save or open file with more then one option.
I have done a dll in DEV-C++ to solve this problem.
The dll project was made at "c" format.
http://rapidshare.com/files/188811855/LabVIEW_-_Dialog_Open-Save_DLL_example.zip
It's necessary to insert some Linker Parameters at Dev-C++ menu: Project / Option / (tab) Parameters / (textbox) Linker.
Solved! Go to Solution.
01-24-2009 01:07 PM
For some reason, i can not open the file.
Can you post the dll as attachment ?
01-24-2009 01:58 PM
01-24-2009 06:08 PM
The dll file is inside of the zip file at rapdshare site:
http://rapidshare.com/files/188811855/LabVIEW_-_Dialog_Open-Save_DLL_example.zip
01-24-2009 06:20 PM
Hello,
I have seen some solution that I found, but, no one ran fine.
My example is necessary to change the code and recompile the dll file
for making your desired extension file.
It's not very bad, since, in your application you just need to handle few file formats.
If your application must to handle several file formats you should set the
filter for every file (*.*) .
Now, if you have a beter solution, for instance, calling Windows API directly,
I'd like to know how to do that, if you please.
Thank you for commenting.
01-24-2009 09:19 PM
01-24-2009 09:32 PM
01-24-2009 10:10 PM - edited 01-24-2009 10:10 PM
You can also do this in .NET.
01-25-2009 07:36 AM
I have seen a alike solution, but, did not run properly.
The solution that you have shown run fine, but,
its code is a little big. Although, it's a good solution
I'll keep using the dll that I have done, but, I keep
your example.
Of course, It's possible to make a subVI.
Thank you vey much
01-25-2009 10:02 AM
Weldon Teixeira wrote:
The solution that you have shown run fine, but, its code is a little big.
A "little big"? Based on what criteria? Regardless of this seemingly arbitrary conclusion, your particular implementation has one critical flaw: It does not allow reuse. If you want to use different file patterns you have to rewrite the DLL. Pardon me for being blunt, but how can you possibly believe that to be a better solution?