<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to set multiple file extension of the OpenFileDialg? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-set-multiple-file-extension-of-the-openfiledialg/m-p/3033064#M78662</link>
    <description>&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim dlg As Autodesk.AutoCAD.Windows.OpenFileDialog = New Autodesk.AutoCAD.Windows.OpenFileDialog("Open Dat Files", "", "dat", "", 0)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Works like a Champ&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2011 15:12:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-05-23T15:12:51Z</dc:date>
    <item>
      <title>How to set multiple file extension of the OpenFileDialg?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-set-multiple-file-extension-of-the-openfiledialg/m-p/1911815#M78658</link>
      <description>I can set the single file extension for Autodesk.AutoCAD.Windows.OpenFileDialg like this:&lt;BR /&gt;
Autodesk.AutoCAD.Windows.OpenFileDialg dlg = new Autodesk.AutoCAD.Windows.OpenFileDialog("select files", null, "dwg", null, Autodesk.AutoCAD.Windows.OpenFileDialog.OpenFileDialogFlags.AllowMultiple);&lt;BR /&gt;
But how to set set multiple file extension?&lt;BR /&gt;
I have tried "dwg|dxf",but it does not work.</description>
      <pubDate>Sat, 10 Mar 2007 04:52:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-set-multiple-file-extension-of-the-openfiledialg/m-p/1911815#M78658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-10T04:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to set multiple file extension of the OpenFileDialg?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-set-multiple-file-extension-of-the-openfiledialg/m-p/1911816#M78659</link>
      <description>Hello,&lt;BR /&gt;
                Give it a try......&lt;BR /&gt;
&lt;BR /&gt;
OpenFileDialog Ofn = new OpenFileDialog();&lt;BR /&gt;
Ofn.Filter = "C Sharp Files (*.cs)|*.cs|Text Files (*.txt)|*.txt";&lt;BR /&gt;
Ofn.Title = "Type File";&lt;BR /&gt;
Ofn.Multiselect = true;&lt;BR /&gt;
Ofn.ShowDialog();&lt;BR /&gt;
&lt;BR /&gt;
Best Regards,&lt;BR /&gt;
Basha</description>
      <pubDate>Sat, 10 Mar 2007 07:13:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-set-multiple-file-extension-of-the-openfiledialg/m-p/1911816#M78659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-10T07:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to set multiple file extension of the OpenFileDialg?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-set-multiple-file-extension-of-the-openfiledialg/m-p/1911817#M78660</link>
      <description>For Multiple file extension options as you indicate, you could use :-&lt;BR /&gt;
// using SWF = System.Windows.Forms;&lt;BR /&gt;
// --&lt;BR /&gt;
SWF.OpenFileDialog dlg = new SWF.OpenFileDialog();&lt;BR /&gt;
&lt;BR /&gt;
dlg.Filter = "Drawing Based Files (*.dwg, *.dxf)|*.dwg;*.dxf";&lt;BR /&gt;
&lt;BR /&gt;
dlg.Multiselect = true;&lt;BR /&gt;
&lt;BR /&gt;
//kwb&lt;BR /&gt;
&lt;BR /&gt;
&lt;CSHARPBIRD&gt; wrote in message news:5514377@discussion.autodesk.com...&lt;BR /&gt;
I can set the single file extension for &lt;BR /&gt;
Autodesk.AutoCAD.Windows.OpenFileDialg like this:&lt;BR /&gt;
Autodesk.AutoCAD.Windows.OpenFileDialg dlg = new &lt;BR /&gt;
Autodesk.AutoCAD.Windows.OpenFileDialog("select files", null, "dwg", null, &lt;BR /&gt;
Autodesk.AutoCAD.Windows.OpenFileDialog.OpenFileDialogFlags.AllowMultiple);&lt;BR /&gt;
But how to set set multiple file extension?&lt;BR /&gt;
I have tried "dwg|dxf",but it does not work.&lt;/CSHARPBIRD&gt;</description>
      <pubDate>Sat, 10 Mar 2007 08:28:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-set-multiple-file-extension-of-the-openfiledialg/m-p/1911817#M78660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-10T08:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to set multiple file extension of the OpenFileDialg?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-set-multiple-file-extension-of-the-openfiledialg/m-p/1911818#M78661</link>
      <description>If you're using OpenFileDialog from Autocad, separate the extensions with semicolons eg. "dwg;dwt"</description>
      <pubDate>Sun, 11 Mar 2007 00:56:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-set-multiple-file-extension-of-the-openfiledialg/m-p/1911818#M78661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-11T00:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to set multiple file extension of the OpenFileDialg?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-set-multiple-file-extension-of-the-openfiledialg/m-p/3033064#M78662</link>
      <description>&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim dlg As Autodesk.AutoCAD.Windows.OpenFileDialog = New Autodesk.AutoCAD.Windows.OpenFileDialog("Open Dat Files", "", "dat", "", 0)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Works like a Champ&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2011 15:12:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-set-multiple-file-extension-of-the-openfiledialg/m-p/3033064#M78662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-23T15:12:51Z</dc:date>
    </item>
  </channel>
</rss>

