473,322 Members | 1,501 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,322 software developers and data experts.

Common dialog for changing/selecting directory

Hello.

I'd like to ask, if there is some common dialog box for selecting directory
(like CFileDialog class).

Thanks.
Nov 12 '07 #1
3 1495
>I'd like to ask, if there is some common dialog box for selecting directory
>(like CFileDialog class).
Yes - see SHBrowseForFolder.

Dave
Nov 12 '07 #2
One more question. How to set some directory to be selected in the dialog
before it is displayed? I didn't find anything ect. in BROWSEINFO structure.

"David Lowndes" wrote:
I'd like to ask, if there is some common dialog box for selecting directory
(like CFileDialog class).

Yes - see SHBrowseForFolder.

Dave
Nov 30 '07 #3
Finally ... I found some help: http://blog.voidnish.com/?p=113

"Ivan" wrote:
One more question. How to set some directory to be selected in the dialog
before it is displayed? I didn't find anything ect. in BROWSEINFO structure.

"David Lowndes" wrote:
>I'd like to ask, if there is some common dialog box for selecting directory
>(like CFileDialog class).
Yes - see SHBrowseForFolder.

Dave
Nov 30 '07 #4

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

Similar topics

2
by: Patrick Herb | last post by:
Hello, I'm trying to print the content of a RichTextBox from my VB 6 app. What I want is that the CommonDialog shows up, the user selects a printer and the content of the RichTextBox prints to...
3
by: S.W. Rasmussen | last post by:
With the risk of being accused of multi-posting I would like to draw the attention to a serious visual basic/windows issue discussed in the microsoft.public.vb.bugs newsgroup. As pointed out below...
1
by: Dalan | last post by:
To avoid having potential conflicts and problems with different versions of Common Dialogs Controls, I have decided to change the ones I have used to API calls; however, this is somewhat new...
23
by: George | last post by:
Is there a way to customize the open file common dialog? I am trying to modify the button text so I can create a delete file common dialog. I need the same functionality of the open file common...
3
by: Alur | last post by:
Changing the current directory with the help of dialog window(MFC app) We can change directory with the help of the following code: CFileDialog m_ldFile(TRUE);...
1
by: Rob Doe | last post by:
Hello, I have a button on a form that brings up the dialog box you get when using Access's menu to do Insert/Object: RunCommand acCmdInsertObject I'd like to over-ride some default settings...
1
by: kmslick | last post by:
Hello all. Not sure which group this problem best relates to, so I'm posting to both with a follow up. I started learning C# and .NET last august for a project for my employer. The project...
2
by: moondaddy | last post by:
Using c# 2.0 in a winforms app, is there a common dialog I can use to allow users to select a directory? By selecting a folder, the user will be identifying the location a group of files will be...
10
Djeek
by: Djeek | last post by:
I tried to use the Common Dialog for choosing directories like many programs do but I did not manage it. You always have to select a file but I don't want to see/select files, only directories!...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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...
1
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.