If you don't need to change the extensions dynamically, you can just right-click the control and choose �Browse Options��. Type the extension in the �Match Pattern� field (e.g. �*.*� in your case, and maybe �*.vi� in other cases). Please see the attached image for an example.
I hope this answered your question.
Best regards, Philip C. Applications Engineer National Instruments www.ni.com/ask
festo wrote in message news:<5065000000080000008B020100-1079395200000@exchange.ni.com>... > How do I use a path control and limit the extention? I do not want to > have *.* All files available.
Right click the control and select 'Browse options...'
I'm not sure that I understand your question. Do you want to specify certain file types to browse for? In that case, add the file type you want to be able to browse for to the 'Match Pattern':
My problem does not have to do with specifying certain file types. The issue is when the control is activated, I do not want an end user to be able to select "All Files (*.*)".
As far as I know, there's no way of removing the "All Files (*.*)" choice from the "Files of type:" menu. If you absolutely need this choice to be removed, you can create some code that calls the Windows DLL that creates the "file open" dialog, by clicking a button on the front panel of the VI.