Click here to Skip to main content
15,884,849 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please understand I can not speak English well

MFC

CFileDialog -> OK Button Click -> Directory Path Save to Registry


question ::

Where is CFileDialog path save in registry?

another one

I create a directory using BROWSEINFO.

Stored in the path shown above CFileDialog How do I apply?


Plz.. I'm beginner...T_T
Posted

1 solution

If I understand correctly, You want
1. to create a folder at a location on button click and want to store the path of this folder in registry

2. Later you want to read this folder path from registry

As you already know how to create folder using BROWSEINFO, I will assume that you are struck with reading and writing data via registry. Here are few links for doing it:

For Writing[^]

For Reading[^]

or more options are here : http://stackoverflow.com/questions/34065/how-to-read-a-value-from-the-windows-registry[^]
 
Share this answer
 
Comments
Shim jin seok 16-Apr-12 23:07pm    
Another: thanks to your answer. but i want registry call CFileDialog at FilePath same Base FolderPath T_T... and Open Base Folder path is CFileDialog close path
Lakamraju Raghuram 17-Apr-12 4:07am    
can not understand. Sorry

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900