BP Forums
How to filter multiple extensions in OPendialog - Printable Version

+- BP Forums (https://bpforums.info)
+-- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=55)
+--- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=56)
+---- Forum: VB.NET (Visual Basic 2010/2008) (https://bpforums.info/forumdisplay.php?fid=8)
+---- Thread: How to filter multiple extensions in OPendialog (/showthread.php?tid=532)



How to filter multiple extensions in OPendialog - Himansh - 05-16-2012

HI Everybody
I am creating a Software called HTML-Editor inspired from
HTML-IDEx created by brandon

I have also added open button in Menustrips which opens the opendialog1

I have added three extension to it
Webpage(*.html)
Text Files(*.txt)
AllFiles(*.*)

Now you all know that there can be many extension for WEbpage like .html or .htm

Now i want that when user click Webpage extension,
openfiledialog display no only files of extension (.html) but also of extension (.htm)
And i don't want to create a seperate extension for (.htm)

So can anybody tell me add multiple extension to Webpage like
Webpage(*.html,*.htm)
Like you can see in paint
JPED(*.jpeg,*.jpg,*.jpe,*.jpif)

Thanks in Advance !!!!!!!!!


Re: How to filter multiple extensions in OPendialog - Himansh - 05-16-2012

Sorry friends for disturbing you with me question instead for first searching on google

Actually i found what i needed
<!-- m --><a class="postlink" href="http://www.vbforfree.com/?p=216">http://www.vbforfree.com/?p=216</a><!-- m -->

Then Also Thanks !!