07-19-2006 10:44 AM
07-21-2006 09:35 AM
Hi
I have had a look into how CVI and windows deals with the file open dialog box. CVI wraps the Windows file open dialog box and opens it in its default view, it has the functionality to change that default view but the implementation does not have the functionality to store those changes. It is the piece of software that you are using which needs to have the functionality to store the changes that have been made e.g. if you change the view style in excel it wont effect the view style in word. If you want this functionality you will have to either write your own file open dialog (using a panel) or build your own wrapper for the windows open dialog box which contains the functionality to save the settings set by the user. (You’ll need the Windows SDK for CVI installed which isn’t installed by default when installing LabWindows/CVI – you can do a custom install, and then select the SDK checkbox to get the files included. Your best resource of what to call in terms of accessing and controlling the Windows Open File Dialog is the Microsoft Developer Network (msdn.microsoft.com) and the web in general, looking for example code on this.)
A good link that I have found useful is www.theeldergeek.com
I hope this help
Tim
Applications Engineer | National Instruments |