Click here to Skip to main content
15,884,099 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Modeless dialog box not display in center of parent dialog box. Pin
Naveen15-Apr-09 21:30
Naveen15-Apr-09 21:30 
GeneralRe: Modeless dialog box not display in center of parent dialog box. Pin
Le@rner15-Apr-09 21:36
Le@rner15-Apr-09 21:36 
GeneralRe: Modeless dialog box not display in center of parent dialog box. Pin
Iain Clarke, Warrior Programmer15-Apr-09 23:01
Iain Clarke, Warrior Programmer15-Apr-09 23:01 
GeneralRe: Modeless dialog box not display in center of parent dialog box. Pin
Naveen16-Apr-09 17:26
Naveen16-Apr-09 17:26 
QuestionHow to get outlook attachment event? Pin
SNI15-Apr-09 20:01
SNI15-Apr-09 20:01 
AnswerRe: How to get outlook attachment event? Pin
Stuart Dootson15-Apr-09 23:02
professionalStuart Dootson15-Apr-09 23:02 
GeneralRe: How to get outlook attachment event? Pin
SNI17-Apr-09 0:37
SNI17-Apr-09 0:37 
GeneralRe: How to get outlook attachment event? Pin
Stuart Dootson17-Apr-09 0:49
professionalStuart Dootson17-Apr-09 0:49 
Yeah, it's a bit different than just launching outlook with a parameter when you use COM.

Here's some VBA that will start Outlook, create and send an e-mail.

Dim o As Object 'will be an Outlook.Application
Dim msg As Object 'will be a MailItem

Set o = CreateObject("Outlook.Application")
Set msg = o.CreateItem(0)
msg.Subject = "this is my subject"

msg.attachments.Add "path to the attachment"

msg.body = "my message"

msg.Recipients.Add "an e-mail address"

msg.send


You can replicate that relatively easily using the #import approach to interfacing with Outlook.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: How to get outlook attachment event? Pin
Stuart Dootson17-Apr-09 1:06
professionalStuart Dootson17-Apr-09 1:06 
QuestionPuzzle about c++ inherent Pin
sharion15-Apr-09 19:08
sharion15-Apr-09 19:08 
AnswerRe: Puzzle about c++ inherent [modified] Pin
_AnsHUMAN_ 15-Apr-09 19:27
_AnsHUMAN_ 15-Apr-09 19:27 
AnswerRe: Puzzle about c++ inherent Pin
ParagPatel15-Apr-09 21:50
ParagPatel15-Apr-09 21:50 
AnswerRe: Puzzle about c++ inherent Pin
Stuart Dootson15-Apr-09 22:51
professionalStuart Dootson15-Apr-09 22:51 
QuestionHow do I remove thousand seperator. Pin
cozyu15-Apr-09 16:06
cozyu15-Apr-09 16:06 
AnswerRe: How do I remove thousand seperator. Pin
Stuart Dootson15-Apr-09 22:47
professionalStuart Dootson15-Apr-09 22:47 
GeneralRe: How do I remove thousand seperator. Pin
Cedric Moonen16-Apr-09 0:00
Cedric Moonen16-Apr-09 0:00 
GeneralRe: How do I remove thousand seperator. Pin
Stuart Dootson16-Apr-09 0:08
professionalStuart Dootson16-Apr-09 0:08 
Question[OT] Re: How do I remove thousand seperator. Pin
David Crow16-Apr-09 3:28
David Crow16-Apr-09 3:28 
AnswerRe: [OT] Re: How do I remove thousand seperator. Pin
Stuart Dootson16-Apr-09 3:32
professionalStuart Dootson16-Apr-09 3:32 
GeneralRe: How do I remove thousand seperator. Pin
cozyu16-Apr-09 16:03
cozyu16-Apr-09 16:03 
QuestionMeasure timing of functions Pin
dybs15-Apr-09 14:33
dybs15-Apr-09 14:33 
AnswerRe: Measure timing of functions Pin
Luc Pattyn15-Apr-09 14:52
sitebuilderLuc Pattyn15-Apr-09 14:52 
AnswerRe: Measure timing of functions Pin
Stuart Dootson15-Apr-09 15:33
professionalStuart Dootson15-Apr-09 15:33 
GeneralRe: Measure timing of functions Pin
dybs15-Apr-09 15:59
dybs15-Apr-09 15:59 
AnswerRe: Measure timing of functions Pin
Jijo.Raj15-Apr-09 22:37
Jijo.Raj15-Apr-09 22:37 

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.