...which has been fixed for IronPython 2.6. You might be able to use the 2.6 pyc.py script against 2.0.<br><br>
<div class="gmail_quote">On Wed, Aug 19, 2009 at 3:09 PM, Curt Hagenlocher <span dir="ltr">&lt;<a href="mailto:curt@hagenlocher.org">curt@hagenlocher.org</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">It&#39;s a COM issue. The emitted Main needs to be tagged with the [STAThread] attribute.<br><br>
<div class="gmail_quote">
<div>
<div></div>
<div class="h5">On Wed, Aug 19, 2009 at 11:41 AM, David Escobar <span dir="ltr">&lt;<a href="mailto:davidescobar@ieee.org" target="_blank">davidescobar@ieee.org</a>&gt;</span> wrote:<br></div></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">Yes, I am. The full command line I&#39;m using is:<br><b><span style="FONT-FAMILY: verdana, sans-serif">&quot;C:\Program Files\IronPython 2.0.2\ipy.exe&quot; pyc.py /out:FolderBrowserDialogTest /main:FolderBrowserDialogTest.py /target:winexe FolderBrowserDialogTest.py</span></b>.<br>
<br>The dialog window does come up with every control except the tree view of folders. 
<div>
<div></div>
<div><br><br><br>
<div class="gmail_quote">On Wed, Aug 19, 2009 at 11:27 AM, Dino Viehland <span dir="ltr">&lt;<a href="mailto:dinov@microsoft.com" target="_blank">dinov@microsoft.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p><span style="COLOR: rgb(31,73,125); FONT-SIZE: 11pt">Are you compiling w/ the “/target:winexe” option?  You’ll need to provide that for doing WinForms development.</span></p>
<p><span style="COLOR: rgb(31,73,125); FONT-SIZE: 11pt"> </span></p>
<div style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<p><b><span style="FONT-SIZE: 10pt">From:</span></b><span style="FONT-SIZE: 10pt"> <a href="mailto:users-bounces@lists.ironpython.com" target="_blank">users-bounces@lists.ironpython.com</a> [mailto:<a href="mailto:users-bounces@lists.ironpython.com" target="_blank">users-bounces@lists.ironpython.com</a>] <b>On Behalf Of </b>David Escobar<br>
<b>Sent:</b> Wednesday, August 19, 2009 11:03 AM<br><b>To:</b> Discussion of IronPython<br><b>Subject:</b> [IronPython] FolderBrowserDialog does not show folders</span></p></div>
<div>
<div></div>
<div>
<p> </p>
<p style="MARGIN-BOTTOM: 12pt">I&#39;ve noticed an issue with the FolderBrowserDialog window from IronPython. When I display it with the ShowDialog method in a compiled script (through pyc.py), it does not show the TreeView of folders. It will display the Description title and the buttons, however. If I run the script straight through the interpreter, it will display the folders just fine. For reference, I also tried the OpenFileDialog and SaveFileDialog, and those show up correctly in both methods. Is this a bug, or am I doing something wrong?<br>
<br>Sample code below:<br><br><b><span>import clr<br>clr.AddReference(&quot;System.Windows.Forms&quot;)<br>from System import *<br>from System.Windows.Forms import *<br><br>dlg = FolderBrowserDialog( )<br>dlg.Description = &quot;Testing...&quot;<br>
dlg.ShowDialog( )</span></b></p></div></div></div></div></blockquote></div><br></div></div><br></div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br><br></blockquote></div><br></blockquote></div><br>