Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / November 2004

Tip: Looking for answers? Try searching our database.

[C#] FolderBrowserDialog

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Leon Friesema - 26 Nov 2004 20:56 GMT
Hi,

Does anybody got a clue why the FolderBrowserDialog does display as a
dialog (with buttons et al), but without the actual "browsing" part?
In other words: I see the Dialog, but without the white
"pick-your-folder-from-the-tree" part.
I'm using .NET Framework 1.1 (for obvious reasons)

Thx in advance,
Leon.
AlexS - 27 Nov 2004 00:13 GMT
Do you call it from MTA application? If yes - use STA.
Otherwise, post code snippet. Could be something in the code.

HTH
Alex
> Hi,
>
[quoted text clipped - 6 lines]
> Thx in advance,
> Leon.
Herfried K. Wagner [MVP] - 27 Nov 2004 17:06 GMT
"AlexS" <salexru2000NO@SPAMsympaticoPLEASE.ca> schrieb:
> Do you call it from MTA application? If yes - use STA.
> Otherwise, post code snippet. Could be something in the code.

In other words:  Make sure, the 'STAThread' attribute is specified for the
'void Main'.

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/

Leon Friesema - 29 Nov 2004 09:31 GMT
>"AlexS" <salexru2000NO@SPAMsympaticoPLEASE.ca> schrieb:
>> Do you call it from MTA application? If yes - use STA.
>> Otherwise, post code snippet. Could be something in the code.
>
>In other words:  Make sure, the 'STAThread' attribute is specified for the
>'void Main'.

Well, that seems to do the trick.
Thanks!
Leon.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.