Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
Hello all,
I have an ExplorerBrowser in a Winform, It works as expected showing all folders and all files within the folders, What I would like to do though is to show only file types pdfs and powerpoint files as I browse the folders.

I am a beginner in vb.net programming and it's proving differcult for me, it may be I'm going about this totally the wrong way and would appreciate any help

David
Posted
Comments
Sergey Alexandrovich Kryukov 26-Aug-14 10:31am    
What, no information about the problem? Now, that is wrong...
—SA
Kschuler 27-Aug-14 11:14am    
What is ExplorerBrowser? Do you mean an OpenFileDialog control?

1 solution

I suppose you have used DriveListBox, DirListBox and FileListBox...
just add in the FileList definition this code:

FileListBox1.Pattern = "*.pdf; *.ppt"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900