473,385 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,385 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 2900
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.