Re: How to browse for a folder
Tech-Archive recommends: Fix windows errors by optimizing your registry
- From: "CheckAbdoul" <checkabdoul at mvps dot org>
- Date: Tue, 26 Jul 2005 09:46:22 -0400
You can use the SHBrowseForFolder() API.
--
Cheers
Check Abdoul [VC++ MVP]
-----------------------------------
"Harald" <Haraldnospamcollonia@xxxxxxxxx> wrote in message
news:X2qFe.5069$6f.4455@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I'd like to allow a user to pick a folder for the data created by my app.
> I'm using CFileDialog, but that returns the path and file name. Is there
> something I can use to just return the folder name (the path)? And on the
> same subject, can I store the path as a CString, or should I use char?
>
> Thank you in advance,
> Harald
>
>
.
Relevant Pages
- Re: Newbie Questions
... applications folder within their home folder for apps they do not wish ... > the switched-to app's body window to the foreground and sometimes not. ... > also not do it when none of my apps is the current app. ... > - How can I play a song with iTunes without bringing up an iTunes UI? ... (comp.sys.mac.system) - Re: Security Exception when deploying a VB.NET 2003 Solution
... It runs fine on any workstation. ... folder 2 levels up from the BIN folder where the application resides. ... Microsoft .NET security errors upon trying to start the Executable. ... I bet the workstaion is WinXP and your app is trying to write data( ... (microsoft.public.vsnet.general) - Re: Design Guidelines for Non-Power Users?
... Non-Power Users and Admins will not be able to install your app. ... You can get whatever this folder happens to be by ... If they don't have write permissions, ... (microsoft.public.vb.winapi) - Re: Cant save DB on close
... thus it can't close it in the normal manner and it then just shuts down. ... it is no longer listed in that folder. ... When I open the backup file it opens fine and it may go along fine for a few ... The original app was created in 2003, and I have not converted it to the 2007 format yet, as I often access it from another machine that does not yet have the 2007 installed. ... (microsoft.public.access.forms) - Re: ClamXAV and Exploit.PDF-2640 alert
... - Since the Toast 'installers' is just a folder, you should be able to right-click on the DiscCover.app and then open the 'Content' folder and find the PDF file in it's location and the just copy it to your own copy of DiscCover. ... I don't even use DiscCover so I should just delete the app. ... ClamXAV, Norton Antivirus and Avast! ... (comp.sys.mac.system) |
|