<?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: Help with VB Design's File Dialog Class in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353901#M73518</link>
    <description>I have created a class and put the vbdesign code into it. it won't compile.  it says the public const data can't be public const...</description>
    <pubDate>Mon, 13 Feb 2006 11:14:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-02-13T11:14:02Z</dc:date>
    <item>
      <title>Help with VB Design's File Dialog Class</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353896#M73513</link>
      <description>I've been attempting to use the File Dialog Class from http://www.vbdesign.net/cadpages/code/source/file_dialogs.htm but I'm having no luck and I suspect it is because I am placing the code in the wrong location.&lt;BR /&gt;
&lt;BR /&gt;
Can someone tell me if this code belongs in a module or a class or a combination of both? Also, I'm trying to use this in AutoCAD Map 2002. Will this existing code work in 2002? On that note, is this the best solution for prompting the user to open a drawing file or is there a simpler method that already exists?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Fri, 07 Jun 2002 19:49:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353896#M73513</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-06-07T19:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help with VB Design's File Dialog Class</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353897#M73514</link>
      <description>I should also note that I'm pretty experienced with VBA, but do not have experience working with classes.&lt;BR /&gt;
&lt;BR /&gt;
In other applications such as Excel, displaying the File Open dialog is very simple using the GetOpenFilename method and I'm extremely surprized that nothing exists like that in VBA for AutoCAD.</description>
      <pubDate>Fri, 07 Jun 2002 20:01:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353897#M73514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-06-07T20:01:48Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353898#M73515</link>
      <description>The DrawingEditor class in the AcadX(tm) Active Extension&lt;BR /&gt;
Library for AutoCAD (www.caddzone.com) has FileDialog()&lt;BR /&gt;
and FileNavDialog() methods that allow you to use the same&lt;BR /&gt;
Open/Save dialog that AutoCAD uses.&lt;BR /&gt;
&lt;BR /&gt;
"geoback" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:f0e7e25.0@WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; I should also note that I'm pretty experienced with VBA, but do not have&lt;BR /&gt;
experience working with classes.&lt;BR /&gt;
&amp;gt; In other applications such as Excel, displaying the File Open dialog is&lt;BR /&gt;
very simple using the GetOpenFilename method and I'm extremely surprized&lt;BR /&gt;
that nothing exists like that in VBA for AutoCAD.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/NOSPAM&gt;</description>
      <pubDate>Sat, 08 Jun 2002 13:57:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353898#M73515</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-06-08T13:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help with VB Design's File Dialog Class</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353899#M73516</link>
      <description>&lt;DIV&gt;&lt;FONT size="2"&gt;The code from VBDesign belongs in a class module. You&amp;nbsp;may &lt;BR /&gt;
then&amp;nbsp;use a standard module to create an instance of the class for your &lt;BR /&gt;
project to use.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;BR /&gt;-- &lt;BR /&gt;R. Robert Bell, MCSE&lt;BR /&gt;&lt;A&gt;&lt;BR /&gt;
href="http://www.AcadX.com"&amp;gt;www.AcadX.com&lt;/A&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"geoback" &amp;lt;&lt;A&gt;&lt;BR /&gt;
  href="mailto:nospam@nospam.com"&amp;gt;nospam@nospam.com&lt;/A&gt;&amp;gt; wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:f0e7e25.-1@WebX.maYIadrTaRb"&amp;gt;news:f0e7e25.-1@WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;I've &lt;BR /&gt;
  been attempting to use the File Dialog Class from &lt;A&gt;&lt;BR /&gt;
  href="http://www.vbdesign.net/cadpages/code/source/file_dialogs.htm"&amp;gt;http://www.vbdesign.net/cadpages/code/source/file_dialogs.htm&lt;/A&gt; &lt;BR /&gt;
  but I'm having no luck and I suspect it is because I am placing the code in &lt;BR /&gt;
  the wrong location. &lt;BR /&gt;
  &lt;P&gt;Can someone tell me if this code belongs in a module or a class or a &lt;BR /&gt;
  combination of both? Also, I'm trying to use this in AutoCAD Map 2002. Will &lt;BR /&gt;
  this existing code work in 2002? On that note, is this the best solution for &lt;BR /&gt;
  prompting the user to open a drawing file or is there a simpler method that &lt;BR /&gt;
  already exists? &lt;BR /&gt;
  &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;
  &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Sat, 08 Jun 2002 16:51:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353899#M73516</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-06-08T16:51:37Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353900#M73517</link>
      <description>Hi Tony,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your reply.&lt;BR /&gt;
&lt;BR /&gt;
I had seen your AcadX extension library but your usage restrictions prevent&lt;BR /&gt;
me from distributing the routine to my client. This is a fairly small job&lt;BR /&gt;
therefore it wasn't worth getting into a license agreement.&lt;BR /&gt;
&lt;BR /&gt;
I will defnitely keep you in mind if this job grows into something much&lt;BR /&gt;
bigger.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks again&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO at="" caddzone="" dot="" com=""&gt; wrote in message&lt;BR /&gt;
news:F1A1A597A1DD934BF459E59A3D8F7EF0@in.WebX.maYIadrTaRb...&lt;BR /&gt;
The DrawingEditor class in the AcadX(tm) Active Extension&lt;BR /&gt;
Library for AutoCAD (www.caddzone.com) has FileDialog()&lt;BR /&gt;
and FileNavDialog() methods that allow you to use the same&lt;BR /&gt;
Open/Save dialog that AutoCAD uses.&lt;BR /&gt;
&lt;BR /&gt;
"geoback" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:f0e7e25.0@WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; I should also note that I'm pretty experienced with VBA, but do not have&lt;BR /&gt;
experience working with classes.&lt;BR /&gt;
&amp;gt; In other applications such as Excel, displaying the File Open dialog is&lt;BR /&gt;
very simple using the GetOpenFilename method and I'm extremely surprized&lt;BR /&gt;
that nothing exists like that in VBA for AutoCAD.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/NOSPAM&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Sun, 09 Jun 2002 13:00:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353900#M73517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-06-09T13:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with VB Design's File Dialog Class</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353901#M73518</link>
      <description>I have created a class and put the vbdesign code into it. it won't compile.  it says the public const data can't be public const...</description>
      <pubDate>Mon, 13 Feb 2006 11:14:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353901#M73518</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-13T11:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with VB Design's File Dialog Class</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353902#M73519</link>
      <description>&lt;AJTRUCKLE&gt; wrote in message news:5084262@discussion.autodesk.com...&lt;BR /&gt;
I have created a class and put the vbdesign code into it. it won't compile.&lt;BR /&gt;
it says the public const data can't be public const...&lt;BR /&gt;
&lt;BR /&gt;
either move it into a std module or make it private&lt;BR /&gt;
&lt;BR /&gt;
hth&lt;BR /&gt;
Mark&lt;/AJTRUCKLE&gt;</description>
      <pubDate>Mon, 13 Feb 2006 14:12:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353902#M73519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-13T14:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with VB Design's File Dialog Class</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353903#M73520</link>
      <description>I moved it to a std module.  I could not make it private because the contants would not be available for other codes use.&lt;BR /&gt;
&lt;BR /&gt;
It is now working.</description>
      <pubDate>Mon, 13 Feb 2006 14:31:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353903#M73520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-13T14:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with VB Design's File Dialog Class</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353904#M73521</link>
      <description>just curious....why should they be available for other code's use? As I &lt;BR /&gt;
understand it, a major point of class programing is to encapsulate bits of &lt;BR /&gt;
code until functional objects, only exposing information through properties. &lt;BR /&gt;
Though there are some instances where public variables can make sense, in &lt;BR /&gt;
general they're best kept to a minimum.&lt;BR /&gt;
&lt;BR /&gt;
-Chris&lt;BR /&gt;
&lt;BR /&gt;
&lt;AJTRUCKLE&gt; wrote in message news:5084385@discussion.autodesk.com...&lt;BR /&gt;
I moved it to a std module.  I could not make it private because the &lt;BR /&gt;
contants would not be available for other codes use.&lt;BR /&gt;
&lt;BR /&gt;
It is now working.&lt;/AJTRUCKLE&gt;</description>
      <pubDate>Mon, 13 Feb 2006 14:42:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353904#M73521</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-13T14:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with VB Design's File Dialog Class</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353905#M73522</link>
      <description>The standard OPENFILENAME structure has to be populated with a varierty of flag values.  You then pass your structure into the GetOpenFileName method.  Thus those flags need to be known.&lt;BR /&gt;
&lt;BR /&gt;
Standard MFC behavior always makes the flag constants public for this particular wrapper in Visual C++&lt;BR /&gt;
&lt;BR /&gt;
Andrew</description>
      <pubDate>Mon, 13 Feb 2006 14:49:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353905#M73522</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-13T14:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with VB Design's File Dialog Class</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353906#M73523</link>
      <description>True, but the whole point of creating a wrapper is so that you don't need to &lt;BR /&gt;
be making the API calls all over the place.  If the windows dialog wrapper &lt;BR /&gt;
was implimented as a class then it could be the only code accessing the &lt;BR /&gt;
OPENFILENAME API call directly and thus the data structure wouldn't need to &lt;BR /&gt;
be declared as public. All dialog requests would be handled by the methods &lt;BR /&gt;
and properties of the wrapper.&lt;BR /&gt;
&lt;BR /&gt;
I'm not familiar with the VB design dialog class wrapper, but I know that's &lt;BR /&gt;
how mine works.&lt;BR /&gt;
&lt;BR /&gt;
-Chris&lt;BR /&gt;
&lt;BR /&gt;
&lt;AJTRUCKLE&gt; wrote in message news:5084427@discussion.autodesk.com...&lt;BR /&gt;
The standard OPENFILENAME structure has to be populated with a varierty of &lt;BR /&gt;
flag values.  You then pass your structure into the GetOpenFileName method. &lt;BR /&gt;
Thus those flags need to be known.&lt;BR /&gt;
&lt;BR /&gt;
Standard MFC behavior always makes the flag constants public for this &lt;BR /&gt;
particular wrapper in Visual C++&lt;BR /&gt;
&lt;BR /&gt;
Andrew&lt;/AJTRUCKLE&gt;</description>
      <pubDate>Mon, 13 Feb 2006 16:23:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353906#M73523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-13T16:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with VB Design's File Dialog Class</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353907#M73524</link>
      <description>I know what you mean.</description>
      <pubDate>Mon, 13 Feb 2006 18:50:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353907#M73524</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-13T18:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with VB Design's File Dialog Class</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353908#M73525</link>
      <description>go to link below an download "comm dialog .zip " this should work for you&lt;BR /&gt;
&lt;BR /&gt;
http://discussion.autodesk.com/thread.jspa?threadID=451811&lt;BR /&gt;
&lt;BR /&gt;
Fred Castillo</description>
      <pubDate>Mon, 13 Feb 2006 19:47:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353908#M73525</guid>
      <dc:creator>fxcastil</dc:creator>
      <dc:date>2006-02-13T19:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with VB Design's File Dialog Class</title>
      <link>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353909#M73526</link>
      <description>Thanks.  I got the vb designs one working.&lt;BR /&gt;
&lt;BR /&gt;
Andrew</description>
      <pubDate>Mon, 13 Feb 2006 21:31:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/help-with-vb-design-s-file-dialog-class/m-p/353909#M73526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-13T21:31:34Z</dc:date>
    </item>
  </channel>
</rss>

