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

A question about CFileDialog! ! ! ! ! ! !

Hello,everyone. I have encountered a problem about CFileDialog
tonight.
First, i create a CFileDialog instance and run it(Do Modal).
Then,i select a folder and press button Ok. Now i want to get the path
of the folder i selected. So I hope to use the function
GetFolderPath,but error have occured . I don't Know what's wrong! Who
can tell me? ? How can I get the folder Path from CFileDialog? ? ?
Thx for your replies! ! ! ! !

Oct 9 '06 #1
1 3304

xhy_China wrote:
Hello,everyone. I have encountered a problem about CFileDialog
tonight.
First, i create a CFileDialog instance and run it(Do Modal).
Then,i select a folder and press button Ok. Now i want to get the path
of the folder i selected. So I hope to use the function
GetFolderPath,but error have occured . I don't Know what's wrong! Who
can tell me? ? How can I get the folder Path from CFileDialog? ? ?
Thx for your replies! ! ! ! !
It seems to be International MFC day today around here.

Please see this FAQ for suggestions for an appropriate place to ask
your question. It's not a C++ language question so comp.lang.c++ can't
help you.

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Gavin Deane

Oct 9 '06 #2

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

Similar topics

1
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
0
by: Pradyumna | last post by:
I have an application wherein I need to select multiple files. I am using a CFileDialog class for opening the 'Open file dialog' . However i cant seem to select more than 2605 files. I mean i can...
0
by: Jeff F | last post by:
I'd like show a CFileDialog with the explorer view in detail view, like VS.net IDE does. Also I'd like to ensure that my additional columns provided by my Shell Ext are displayed. Any thoughts?...
1
by: viyi | last post by:
The normal CFileDialog can only be used to select a file, can i use it to select a path?
0
by: YANSHOF | last post by:
1. i looking some method who copy file (getting path of this file) to ather place (also getting path of second file) . the first file path will get throw CFileDialog andather path will define as...
1
by: CrimeMaster | last post by:
I have write some simple code,this code does not shows network mapped drives when we run it under system account, otherwise under user account it shows them correctly. Any body tell me why did...
4
by: rag84dec | last post by:
Hi, I have a dialog box which has menu "File->open"...and in the messagemap function OnOpen() I am trying to opening a file using CFileDialog... afx_msg void CExoDialog::Onopen() {...
1
by: ahammad | last post by:
This application opens a Word document for editing. I need to keep the file path of the Word document even after it has been closed. I tried using Word event handlers but I couldn't figure it out, so...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...

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.