473,473 Members | 1,604 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 2903
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: 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
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.