<?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: in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336663#M86291</link>
    <description>On Tue, 13 Mar 2001 14:43:59 -0800, "Troy Sigwing"&lt;BR /&gt;
&lt;TSIGWING&gt; wrote:&lt;BR /&gt;
&lt;BR /&gt;
»The problem is that I don't have any forms to drop the commondialog control&lt;BR /&gt;
»onto, I am just writing a module, and I am going to load it into a button.&lt;BR /&gt;
»When the user clicks the button this program will run, and part of it needs&lt;BR /&gt;
»to activate the windows open dialog box, but I don't know how to do it&lt;BR /&gt;
»without the commondialog control.  I guess windows API here I come.&lt;BR /&gt;
&lt;BR /&gt;
Visual Basic Common Control API Routines&lt;BR /&gt;
Using the GetOpenFileName Common Dialog API &lt;BR /&gt;
&lt;&gt;&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Paul Marshall&lt;BR /&gt;
pmarshal@vulcraft-al.com&lt;/&gt;&lt;/TSIGWING&gt;</description>
    <pubDate>Wed, 14 Mar 2001 04:11:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2001-03-14T04:11:00Z</dc:date>
    <item>
      <title>Windows Common control</title>
      <link>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336658#M86286</link>
      <description>having heck trying to use the windows common controls to use the showopen to&lt;BR /&gt;
get a filename, but can't get it to work.  Which file do I need to add a&lt;BR /&gt;
reference to?  There are multiple mscom files.  Help.&lt;BR /&gt;
&lt;BR /&gt;
Troy</description>
      <pubDate>Tue, 13 Mar 2001 12:26:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336658#M86286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-13T12:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Common control</title>
      <link>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336659#M86287</link>
      <description>Microsoft Windows Common Controls 6.0 is in C:\WINDOWS\SYSTEM\MSCOMCTL.OCX,&lt;BR /&gt;
but the file open dialog is in Microsoft Common Dialog Control 6.0 (SP3)&lt;BR /&gt;
C:\WINDOWS\SYSTEM\Comdlg32.ocx.  Help file for the latter is in&lt;BR /&gt;
C:\WINDOWS\HELP\CMDLG98.CHM.&lt;BR /&gt;
--&lt;BR /&gt;
John Goodfellow&lt;BR /&gt;
irtf'nm&lt;BR /&gt;
use 'microtouch' in address to email&lt;BR /&gt;
&lt;BR /&gt;
"Troy Sigwing" &lt;TSIGWING&gt; wrote in message&lt;BR /&gt;
news:A159B7FEC1D167B253BD78279D3AB9FD@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; having heck trying to use the windows common controls to use the showopen&lt;BR /&gt;
to&lt;BR /&gt;
&amp;gt; get a filename, but can't get it to work.  Which file do I need to add a&lt;BR /&gt;
&amp;gt; reference to?  There are multiple mscom files.  Help.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Troy&lt;BR /&gt;
&amp;gt;&lt;/TSIGWING&gt;</description>
      <pubDate>Tue, 13 Mar 2001 13:19:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336659#M86287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-13T13:19:46Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336660#M86288</link>
      <description>Unfortunately I get a message saying my help file is corrupt.  When I&lt;BR /&gt;
located it manually, I could open it, but cannot get to any of the linked&lt;BR /&gt;
info, especially the examples.  If anyone would be so kind as to post it&lt;BR /&gt;
here...&lt;BR /&gt;
&lt;BR /&gt;
eternally grateful&lt;BR /&gt;
&lt;BR /&gt;
Troy&lt;BR /&gt;
&lt;BR /&gt;
"John Goodfellow" &lt;JGOODFELLOW&gt; wrote in message&lt;BR /&gt;
news:D5825105E2B21D2DEB018AAB84881C01@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Microsoft Windows Common Controls 6.0 is in&lt;BR /&gt;
C:\WINDOWS\SYSTEM\MSCOMCTL.OCX,&lt;BR /&gt;
&amp;gt; but the file open dialog is in Microsoft Common Dialog Control 6.0 (SP3)&lt;BR /&gt;
&amp;gt; C:\WINDOWS\SYSTEM\Comdlg32.ocx.  Help file for the latter is in&lt;BR /&gt;
&amp;gt; C:\WINDOWS\HELP\CMDLG98.CHM.&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; John Goodfellow&lt;BR /&gt;
&amp;gt; irtf'nm&lt;BR /&gt;
&amp;gt; use 'microtouch' in address to email&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Troy Sigwing" &lt;TSIGWING&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:A159B7FEC1D167B253BD78279D3AB9FD@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; having heck trying to use the windows common controls to use the&lt;BR /&gt;
showopen&lt;BR /&gt;
&amp;gt; to&lt;BR /&gt;
&amp;gt; &amp;gt; get a filename, but can't get it to work.  Which file do I need to add a&lt;BR /&gt;
&amp;gt; &amp;gt; reference to?  There are multiple mscom files.  Help.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Troy&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/TSIGWING&gt;&lt;/JGOODFELLOW&gt;</description>
      <pubDate>Tue, 13 Mar 2001 14:16:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336660#M86288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-13T14:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Common control</title>
      <link>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336661#M86289</link>
      <description>The problem is that I don't have any forms to drop the commondialog control&lt;BR /&gt;
onto, I am just writing a module, and I am going to load it into a button.&lt;BR /&gt;
When the user clicks the button this program will run, and part of it needs&lt;BR /&gt;
to activate the windows open dialog box, but I don't know how to do it&lt;BR /&gt;
without the commondialog control.  I guess windows API here I come.&lt;BR /&gt;
&lt;BR /&gt;
"Troy Sigwing" &lt;TSIGWING&gt; wrote in message&lt;BR /&gt;
news:A159B7FEC1D167B253BD78279D3AB9FD@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; having heck trying to use the windows common controls to use the showopen&lt;BR /&gt;
to&lt;BR /&gt;
&amp;gt; get a filename, but can't get it to work.  Which file do I need to add a&lt;BR /&gt;
&amp;gt; reference to?  There are multiple mscom files.  Help.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Troy&lt;BR /&gt;
&amp;gt;&lt;/TSIGWING&gt;</description>
      <pubDate>Tue, 13 Mar 2001 14:43:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336661#M86289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-13T14:43:59Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336662#M86290</link>
      <description>Troy,&lt;BR /&gt;
&lt;BR /&gt;
Why not just add a form to your project, which you can drop the common&lt;BR /&gt;
dialog control onto, without ever making the form visible?&lt;BR /&gt;
&lt;BR /&gt;
Andrew Wilford&lt;BR /&gt;
www.artwork.com</description>
      <pubDate>Tue, 13 Mar 2001 14:56:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336662#M86290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-13T14:56:13Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336663#M86291</link>
      <description>On Tue, 13 Mar 2001 14:43:59 -0800, "Troy Sigwing"&lt;BR /&gt;
&lt;TSIGWING&gt; wrote:&lt;BR /&gt;
&lt;BR /&gt;
»The problem is that I don't have any forms to drop the commondialog control&lt;BR /&gt;
»onto, I am just writing a module, and I am going to load it into a button.&lt;BR /&gt;
»When the user clicks the button this program will run, and part of it needs&lt;BR /&gt;
»to activate the windows open dialog box, but I don't know how to do it&lt;BR /&gt;
»without the commondialog control.  I guess windows API here I come.&lt;BR /&gt;
&lt;BR /&gt;
Visual Basic Common Control API Routines&lt;BR /&gt;
Using the GetOpenFileName Common Dialog API &lt;BR /&gt;
&lt;&gt;&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Paul Marshall&lt;BR /&gt;
pmarshal@vulcraft-al.com&lt;/&gt;&lt;/TSIGWING&gt;</description>
      <pubDate>Wed, 14 Mar 2001 04:11:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336663#M86291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-14T04:11:00Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336664#M86292</link>
      <description>Ok, I loaded it, but how do I get it to display the standard windows file&lt;BR /&gt;
open dialog box?  when I try to use it I get:&lt;BR /&gt;
&lt;BR /&gt;
GetOpenFileName.GetOpenFileName&lt;BR /&gt;
&lt;BR /&gt;
and I don't know what it is looking for after the last GetOpenFileName&lt;BR /&gt;
&lt;BR /&gt;
Thanks again,  I feel like such an idiot.&lt;BR /&gt;
&lt;BR /&gt;
Troy&lt;BR /&gt;
"Paul Marshall" &lt;PMARSHAL&gt; wrote in message&lt;BR /&gt;
news:5tnuat8h2vf0n22gj32cu2l4pb77t0g7j0@4ax.com...&lt;BR /&gt;
&amp;gt; On Tue, 13 Mar 2001 14:43:59 -0800, "Troy Sigwing"&lt;BR /&gt;
&amp;gt; &lt;TSIGWING&gt; wrote:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; »The problem is that I don't have any forms to drop the commondialog&lt;BR /&gt;
control&lt;BR /&gt;
&amp;gt; »onto, I am just writing a module, and I am going to load it into a&lt;BR /&gt;
button.&lt;BR /&gt;
&amp;gt; »When the user clicks the button this program will run, and part of it&lt;BR /&gt;
needs&lt;BR /&gt;
&amp;gt; »to activate the windows open dialog box, but I don't know how to do it&lt;BR /&gt;
&amp;gt; »without the commondialog control.  I guess windows API here I come.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Visual Basic Common Control API Routines&lt;BR /&gt;
&amp;gt; Using the GetOpenFileName Common Dialog API&lt;BR /&gt;
&amp;gt; &lt;&gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; Paul Marshall&lt;BR /&gt;
&amp;gt; pmarshal@vulcraft-al.com&lt;/&gt;&lt;/TSIGWING&gt;&lt;/PMARSHAL&gt;</description>
      <pubDate>Wed, 14 Mar 2001 07:58:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336664#M86292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-14T07:58:14Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336665#M86293</link>
      <description>Finally found the soloution I was looking for at http://www.acadx.com/&lt;BR /&gt;
&lt;BR /&gt;
"Troy Sigwing" &lt;TSIGWING&gt; wrote in message&lt;BR /&gt;
news:A59154C557A4375E0BD4C29224E4E2CC@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Ok, I loaded it, but how do I get it to display the standard windows file&lt;BR /&gt;
&amp;gt; open dialog box?  when I try to use it I get:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; GetOpenFileName.GetOpenFileName&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; and I don't know what it is looking for after the last GetOpenFileName&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks again,  I feel like such an idiot.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Troy&lt;BR /&gt;
&amp;gt; "Paul Marshall" &lt;PMARSHAL&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:5tnuat8h2vf0n22gj32cu2l4pb77t0g7j0@4ax.com...&lt;BR /&gt;
&amp;gt; &amp;gt; On Tue, 13 Mar 2001 14:43:59 -0800, "Troy Sigwing"&lt;BR /&gt;
&amp;gt; &amp;gt; &lt;TSIGWING&gt; wrote:&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; »The problem is that I don't have any forms to drop the commondialog&lt;BR /&gt;
&amp;gt; control&lt;BR /&gt;
&amp;gt; &amp;gt; »onto, I am just writing a module, and I am going to load it into a&lt;BR /&gt;
&amp;gt; button.&lt;BR /&gt;
&amp;gt; &amp;gt; »When the user clicks the button this program will run, and part of it&lt;BR /&gt;
&amp;gt; needs&lt;BR /&gt;
&amp;gt; &amp;gt; »to activate the windows open dialog box, but I don't know how to do it&lt;BR /&gt;
&amp;gt; &amp;gt; »without the commondialog control.  I guess windows API here I come.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Visual Basic Common Control API Routines&lt;BR /&gt;
&amp;gt; &amp;gt; Using the GetOpenFileName Common Dialog API&lt;BR /&gt;
&amp;gt; &amp;gt; &lt;&gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; --&lt;BR /&gt;
&amp;gt; &amp;gt; Paul Marshall&lt;BR /&gt;
&amp;gt; &amp;gt; pmarshal@vulcraft-al.com&lt;BR /&gt;
&amp;gt;&lt;/&gt;&lt;/TSIGWING&gt;&lt;/PMARSHAL&gt;&lt;/TSIGWING&gt;</description>
      <pubDate>Wed, 14 Mar 2001 08:14:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336665#M86293</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-14T08:14:07Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336666#M86294</link>
      <description>On Wed, 14 Mar 2001 07:58:14 -0800, "Troy Sigwing"&lt;BR /&gt;
&lt;TSIGWING&gt; wrote:&lt;BR /&gt;
&lt;BR /&gt;
»Ok, I loaded it, but how do I get it to display the standard windows file&lt;BR /&gt;
»open dialog box?  when I try to use it I get:&lt;BR /&gt;
»&lt;BR /&gt;
»GetOpenFileName.GetOpenFileName&lt;BR /&gt;
»&lt;BR /&gt;
»and I don't know what it is looking for after the last GetOpenFileName&lt;BR /&gt;
&lt;BR /&gt;
OK, now I'm confused.&lt;BR /&gt;
&lt;BR /&gt;
Somewhere in your code, you should have something like:&lt;BR /&gt;
&lt;BR /&gt;
Dim OFN As OPENFILENAME&lt;BR /&gt;
&lt;BR /&gt;
With OFN&lt;BR /&gt;
  .nStructSize = Len(OFN)&lt;BR /&gt;
  'fill other needed elements of OFN&lt;BR /&gt;
&lt;BR /&gt;
End With&lt;BR /&gt;
&lt;BR /&gt;
If GetOpenFileName(OFN) Then&lt;BR /&gt;
  'success... process the returned file name(s)&lt;BR /&gt;
&lt;BR /&gt;
End If&lt;BR /&gt;
&lt;BR /&gt;
If you're wanting a class which encapsulates this stuff, try this one&lt;BR /&gt;
from From A.C.A.D (&lt;&gt;&lt;/&gt;)&lt;BR /&gt;
&lt;BR /&gt;
FileDialog.cls&lt;BR /&gt;
&lt;&gt;&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Paul Marshall&lt;BR /&gt;
pmarshal@vulcraft-al.com&lt;/&gt;&lt;/TSIGWING&gt;</description>
      <pubDate>Wed, 14 Mar 2001 08:17:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/windows-common-control/m-p/336666#M86294</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-14T08:17:24Z</dc:date>
    </item>
  </channel>
</rss>

