Solved

Common Dialog Boxes

Posted on 2001-08-06
9
422 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

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

Expert Comment

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

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

733 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