473,320 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

FileBrowserDialog is blank.

I'm running VS 2003 with NetFramework 1.1.
I've added a FileBrowserDialog to a WinForm and set the properties for
Description and hiding the NewFolder button.
These properties are correctly displayed with I show the dialog.
But, the directory tree is always blank, regardless of the Root property
(eg. Desktop or MyComputer). I've left the SelectedPath properties empty. I
must be missing something. --
Thanks for your help.
Jul 22 '05 #1
5 2899
Ron,

There is no FileBrowserDialog in Net about what control are you talking?

Cor
Jul 22 '05 #2
Sorry, slip of the pen, meant FolderBrowserDialog.

--
Thanks for your help.
"Cor Ligthert [MVP]" wrote:
Ron,

There is no FileBrowserDialog in Net about what control are you talking?

Cor

Jul 22 '05 #3
Ron,

Can you show us some code that you used to set the properties?

Cor
Jul 22 '05 #4
>I'm running VS 2003 with NetFramework 1.1.
I've added a FileBrowserDialog to a WinForm and set the properties for
Description and hiding the NewFolder button.
These properties are correctly displayed with I show the dialog.
But, the directory tree is always blank, regardless of the Root property
(eg. Desktop or MyComputer). I've left the SelectedPath properties empty. I
must be missing something. --
Thanks for your help.


A common reason for this is not having the STAThread attribute on your
Main method.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jul 22 '05 #5
That was the problem. Many many thanks.
--

"Ron Ford" wrote:
I'm running VS 2003 with NetFramework 1.1.
I've added a FileBrowserDialog to a WinForm and set the properties for
Description and hiding the NewFolder button.
These properties are correctly displayed with I show the dialog.
But, the directory tree is always blank, regardless of the Root property
(eg. Desktop or MyComputer). I've left the SelectedPath properties empty. I
must be missing something. --
Thanks for your help.

Jul 22 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Michael A. Covington | last post by:
Has anyone created either... (1) a version of OpenFileDialog that can select folders, not just files; or (2) a version of FileBrowserDialog that is a little more user-friendly (more like...
2
by: Johm | last post by:
How can i go to the next blank record in the table , such a blank record exists ? In my form Customers, i have a command button with the following command : DoCmd.GoToRecord , "", acNewRec...
5
by: ChadDiesel | last post by:
My basic question is why does my print report button on my subform print a blank report when my cursor is on a blank entry line? Here is a more detailed explanation of my problem. I have a...
2
by: Ken Loomis | last post by:
Hello: I'm using the validating event on a text boxes to test for valid dates, doubles, etc. The problem is that if the field is not required and a blank value is OK and the user deletes a...
6
by: Johann Blake | last post by:
I fill a table in a dataset with values that will be used by a combobox for the combobox's items. The combobox is a drop down list that only allows the user to select from the list but not enter...
5
by: Ron Ford | last post by:
I'm running VS 2003 with NetFramework 1.1. I've added a FileBrowserDialog to a WinForm and set the properties for Description and hiding the NewFolder button. These properties are correctly...
4
by: sparks | last post by:
I am trying to fix a database that someone did about 4 yrs ago in access97. The main table just contains demographics and is on the main form of the database. It has a subform on a tab that...
19
by: billa856 | last post by:
Hi, I have to use the table(PRODUCTION) already generated in MS Access in which all fields are of TEXT type.fields like (orderdate,palletno,customercode,itemno,pono,carto n,pcs,totalquantity)Now i...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.