LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete “All files” from Path browse Option?

Solved!
Go to solution

1.png

0 Kudos
Message 1 of 5
(727 Views)

There's no easy way to get rid of that.

 

It looks like Windows adds it by default, and removing it isn't easy (not just in LabVIEW).

 

It has been asked before:

Re: File Dialog - How can I remove/Disable "All files(*.*)" option. - NI Community

 

It's learn to live with it 😑, unless you're looking for a chalange.

0 Kudos
Message 2 of 5
(699 Views)

I believe you should create your own file dialog.

0 Kudos
Message 3 of 5
(689 Views)

I'm guessing it's part of the Windows API, as all file dialogs I know of have this.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(670 Views)
Solution
Accepted by topic author primeking

@billko wrote:

I'm guessing it's part of the Windows API, as all file dialogs I know of have this.


Indeed.

 

Changing this might not be what the user wants, as it's standard to have this.

 

Also, removing *.* as pattern doesn't prohibit the user from opening any file. The files are not listed, but the user can still type any file name, and Windows will give a list of files with other extension and allow you to open it.

Message 5 of 5
(660 Views)