Click here to Skip to main content
15,906,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to get a image in a .bmp file onto a Dialog in the program? Pin
Hamid_RT20-Mar-06 17:59
Hamid_RT20-Mar-06 17:59 
AnswerRe: how to get a image in a .bmp file onto a Dialog in the program? Pin
Hamid_RT20-Mar-06 18:07
Hamid_RT20-Mar-06 18:07 
AnswerRe: how to get a image in a .bmp file onto a Dialog in the program? Pin
Chris Gao21-Mar-06 9:35
Chris Gao21-Mar-06 9:35 
QuestionDLL Hell Pin
vivek.s.vivek20-Mar-06 17:02
vivek.s.vivek20-Mar-06 17:02 
AnswerRe: DLL Hell Pin
Gavin Taylor20-Mar-06 17:15
professionalGavin Taylor20-Mar-06 17:15 
AnswerRe: DLL Hell Pin
HakunaMatada20-Mar-06 18:38
HakunaMatada20-Mar-06 18:38 
Questionrelated with cookie Pin
baldha rakesh20-Mar-06 16:50
baldha rakesh20-Mar-06 16:50 
Questionhow to add an email to outlook's inbox Pin
rcao20-Mar-06 16:18
rcao20-Mar-06 16:18 
i want add an email to outlook's inbox
so i write the code like this...

_MailItemPtr pNewMail;
MAPIFolderPtr pInbox;
_ItemsPtr pInboxItems;
_NameSpacePtr pNameSpace;

_ApplicationPtr pApp("Outlook.Application");
pNameSpace = pApp->GetNamespace(L"MAPI");
pInbox = pNameSpace1->GetDefaultFolder(olFolderInbox);
pInboxItems = pInbox->Items;
pNewMail = pInboxItems->Add();
pNewMail->Subject = "Save Inbox";
pNewMail->SaveSentMessageFolder = pInbox;
pNewMail->Save();
pNameSpace->Logoff();

i want save email to inbox,but the result is save the email to draftbox.

i think have a mistake in the code,but i don't know.
anybody know how to Save email to inbox,please tell me,thanks!

Best Regards!
QuestionToo few parameters. Expected error 1 Pin
fuschia20-Mar-06 16:07
fuschia20-Mar-06 16:07 
AnswerRe: Too few parameters. Expected error 1 Pin
Aqueel20-Mar-06 16:17
Aqueel20-Mar-06 16:17 
AnswerRe: Too few parameters. Expected error 1 Pin
Christian Graus20-Mar-06 16:26
protectorChristian Graus20-Mar-06 16:26 
GeneralRe: Too few parameters. Expected error 1 Pin
Aqueel20-Mar-06 16:32
Aqueel20-Mar-06 16:32 
AnswerRe: Too few parameters. Expected error 1 Pin
Aqueel20-Mar-06 16:33
Aqueel20-Mar-06 16:33 
AnswerRe: Too few parameters. Expected error 1 Pin
#realJSOP21-Mar-06 7:18
professional#realJSOP21-Mar-06 7:18 
QuestionDialog box error Pin
RalfPeter20-Mar-06 13:25
RalfPeter20-Mar-06 13:25 
AnswerRe: Dialog box error Pin
Chris Gao20-Mar-06 14:30
Chris Gao20-Mar-06 14:30 
AnswerRe: Dialog box error Pin
Stephen Hewitt20-Mar-06 15:29
Stephen Hewitt20-Mar-06 15:29 
QuestionDo-it-yourself MFC DLL Pin
dahill20-Mar-06 13:16
dahill20-Mar-06 13:16 
AnswerRe: Do-it-yourself MFC DLL Pin
Christian Graus20-Mar-06 18:02
protectorChristian Graus20-Mar-06 18:02 
AnswerRe: Do-it-yourself MFC DLL Pin
#realJSOP21-Mar-06 7:21
professional#realJSOP21-Mar-06 7:21 
QuestionRegards the retrieving registry problem Pin
Ting Li Che20-Mar-06 12:22
Ting Li Che20-Mar-06 12:22 
Questionchange prog. Pin
jwacho520-Mar-06 12:12
jwacho520-Mar-06 12:12 
AnswerRe: change prog. Pin
Christian Graus20-Mar-06 12:45
protectorChristian Graus20-Mar-06 12:45 
GeneralRe: change prog. Pin
jwacho520-Mar-06 13:11
jwacho520-Mar-06 13:11 
GeneralRe: change prog. Pin
Christian Graus20-Mar-06 13:16
protectorChristian Graus20-Mar-06 13:16 

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.