Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Common Dialog Boxes

Posted on 2001-08-06
9
Medium Priority
?
448 Views
Last Modified: 2013-12-03
How do i open this common dialog box:
http://www.geocities.com/aviran_a/image1.jpg

no MFC
VC++
0
Comment
Question by:dafoki
9 Comments
 
LVL 6

Expert Comment

by:MichaelS
ID: 6358442
Which dialog box? Can't get nothing on that link. Can put some functions here, just guessing.

SHBrowseForFolder
GetOpenFileName
...

Can you make yourself more clear?
0
 

Author Comment

by:dafoki
ID: 6358465
err, copy to address box in your browser www.geocities.com/aviran_a/image1.jpg (with out the http://) and you'll be able to see the image (geocities sucks!)

i think it's SHBrowseForFolder
0
 
LVL 6

Expert Comment

by:MichaelS
ID: 6358491
>(geocities sucks!)
yes :(

>i think it's SHBrowseForFolder
yes :)

do you need some more information about that function?
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 

Author Comment

by:dafoki
ID: 6358764
should i include some headers?
i get some error when i try to compile:
BROWSEINFO : undeclared identifier
SHBrowseForFolder : undeclared identifier
0
 
LVL 6

Expert Comment

by:MichaelS
ID: 6358799
yep, sure

include Shlobj.h and link with Shell32.lib
0
 

Author Comment

by:dafoki
ID: 6359218
how do i customize the dialog box?
i need to add some buttons to it
0
 

Author Comment

by:dafoki
ID: 6359455
one more thing, the dialog returns only the directory name
how do i get the full path to that directory?
0
 
LVL 86

Accepted Solution

by:
jkr earned 800 total points
ID: 6359652
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6891510
Force-accepted by
Netminder
CS Moderator
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question