Click here to Skip to main content
15,914,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to change the Title(Caption) of Modal Dialog Box? Pin
Chris Meech12-May-10 6:52
Chris Meech12-May-10 6:52 
GeneralRe: How to change the Title(Caption) of Modal Dialog Box? Pin
David Crow12-May-10 8:34
David Crow12-May-10 8:34 
QuestionRe: How to change the Title(Caption) of Modal Dialog Box? Pin
David Crow12-May-10 8:37
David Crow12-May-10 8:37 
AnswerRe: How to change the Title(Caption) of Modal Dialog Box? Pin
Aescleal14-May-10 20:43
Aescleal14-May-10 20:43 
QuestionRun time error Pin
john563212-May-10 3:43
john563212-May-10 3:43 
AnswerRe: Run time error Pin
Cedric Moonen12-May-10 4:05
Cedric Moonen12-May-10 4:05 
GeneralRe: Run time error Pin
john563212-May-10 4:17
john563212-May-10 4:17 
QuestionSync with specific outlook folder Pin
IAmRami12-May-10 3:26
IAmRami12-May-10 3:26 
Hello,
I have an application that allows you to import contacts from outlook,
when you click on import it open that outlook 'folder select menu' and you select the folder you want to import the contacts from.
so far it's all good,
what I want to do now is to make this automatic,
I need to find a way to save the selected folder, so next time the user will load the application it will know from which folder to take the contacts from.

This is the code I'm using now:
_ApplicationPtr pApp;
_ItemsPtr pItems;
MAPIFolderPtr pFolder;
HRESULT hr;
hr=pApp.CreateInstance(__uuidof(Application));
pFolder = pApp->GetNamespace(_bstr_t("MAPI"))->PickFolder(); //here the user select folder
pItems=pFolder->GetItems();
.....and so on

basically I need to save the selected MAPIFolderPtr pFolder to the registry as a string
and then convert it back to MAPIFolderPtr pFolder from the string.

Thank you!
AnswerRe: Sync with specific outlook folder - solution!!! Pin
IAmRami12-May-10 3:54
IAmRami12-May-10 3:54 
Questionmfc42u.pdb 'does not match' Pin
VictorSotnikov12-May-10 3:17
VictorSotnikov12-May-10 3:17 
QuestionObject layout of the Virtual Base class. Pin
nokia111012-May-10 2:53
nokia111012-May-10 2:53 
AnswerRe: Object layout of the Virtual Base class. Pin
CPallini12-May-10 3:09
mveCPallini12-May-10 3:09 
QuestionLoad PNG Images Pin
AbhiHcl12-May-10 2:36
AbhiHcl12-May-10 2:36 
AnswerRe: Load PNG Images Pin
Nuri Ismail12-May-10 3:00
Nuri Ismail12-May-10 3:00 
GeneralRe: Load PNG Images Pin
AbhiHcl12-May-10 3:17
AbhiHcl12-May-10 3:17 
GeneralRe: Load PNG Images Pin
AbhiHcl12-May-10 3:22
AbhiHcl12-May-10 3:22 
QuestionRe: Load PNG Images Pin
Nuri Ismail12-May-10 3:37
Nuri Ismail12-May-10 3:37 
AnswerRe: Load PNG Images Pin
AbhiHcl12-May-10 3:42
AbhiHcl12-May-10 3:42 
AnswerRe: Load PNG Images Pin
Nuri Ismail12-May-10 3:56
Nuri Ismail12-May-10 3:56 
QuestionHow to find the average, worst complexity of a code Pin
janani1312-May-10 2:32
janani1312-May-10 2:32 
QuestionRe: How to find the average, worst complexity of a code Pin
David Crow12-May-10 2:41
David Crow12-May-10 2:41 
AnswerRe: How to find the average, worst complexity of a code Pin
Radhakrishnan G.12-May-10 2:52
Radhakrishnan G.12-May-10 2:52 
GeneralRe: How to find the average, worst complexity of a code Pin
janani1312-May-10 2:55
janani1312-May-10 2:55 
GeneralRe: How to find the average, worst complexity of a code Pin
Maximilien12-May-10 3:17
Maximilien12-May-10 3:17 
GeneralRe: How to find the average, worst complexity of a code Pin
Radhakrishnan G.12-May-10 23:52
Radhakrishnan G.12-May-10 23:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.