Solved

Common Dialog Boxes

Posted on 2001-08-06
9
418 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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 200 total points
ID: 6359652
0
 
LVL 5

Expert Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now