473,672 Members | 2,497 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OpenFileDialog with ability to select folders?

Has anyone implemented something like OpenFileDialog that *also* allows you
to select folders?

I know about the folder-browser tool, which *only* lets you see and select
folders, not whole files.

I'd like to be able to do both.

Thanks!
Jul 21 '05 #1
0 1471

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

Similar topics

0
1046
by: Eddie | last post by:
Hi, Is there a way to prevent the OpenFiledialog from allowing users to create new Files/Folders?? Currently we have an app that gets run on a terminal server, and all users connect using annon logon. However, some of our users require the ability to create new folders/files from the dialog box, while others should be restricted...
2
1845
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 OpenFileDialog)? Thanks!
2
3077
by: don | last post by:
has anyone experienced problems with interactions between OpenFileDialog and FileStream? When I select "open" from an OpenFileDialog the subsequent calls to FileStream do not create a file. If I do anything else, eg, navigate to other folders, and then press "cancel" the file is created. This occurrs just with the simple code below. Any ideas private void button1_Click(object sender, System.EventArgs e // open the common dialog bo...
0
1298
by: Michael A. Covington | last post by:
Is there a simple way to modify OpenFileDialog (in either Win32 or .NET) so that the user can select folders as well as files? I know about FolderBrowser, which does not show any files at all and does not see or follow shortcuts. Thanks!
4
731
by: Chuck Edgeworth | last post by:
I'm trying to be able to select a combination of files and folders. When I try to use the OpenFileDialog it will allow me to select them but when I press the Open button it only informs me of the files I chose not the folders as well? Am I missing something? I know Microsoft can determine the folders that are selected because if you do this with the Explorer file open it will bring up windows with the contents of the folders you selected...
2
1389
by: Bernie Yaeger | last post by:
I've asked this question before but now I need something different: I need to select files using openfiledialog, which is easy enough. But I want to select a file or files (multiselect) and also single click select a folder or folders (double click would open the folder, as the openfiledialog now does). I don't want to just browse the folder. For example, when I cut a cd using Record Now, it can select both files and entire folders and...
0
319
by: Michael A. Covington | last post by:
Has anyone implemented something like OpenFileDialog that *also* allows you to select folders? I know about the folder-browser tool, which *only* lets you see and select folders, not whole files. I'd like to be able to do both. Thanks!
9
41546
by: Michael A. Covington | last post by:
Is there any way to hack OpenFileDialog (either in .NET 2.0 or in Win32) that will allow the user to select a folder rather than a file? Better yet, multiselect them. I know about FolderBrowserDialog, but it's not satisfactory because it doesn't show or follow shortcuts, and also because users are not as familiar with it.
3
9876
by: Mike Wesling | last post by:
Hi, does anyone know how to show the OpenFileDialog with "My Computer" as InitialDirectory? I tried it with openFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyComputer);
0
8485
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8930
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8828
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8605
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8677
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7446
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6238
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5704
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4417
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.