An Outlook Addin issue
-
Hi! I have a question for you, older & more skilled (then me :) ) COM programmers. I have an ATL Addin for MSOutlook2k. For now, it only displays some buttons in outlook (thanks Amit Dey! great tutorial!), but I would like to send an e-mail when pressing one of them(with some content set by me). Any ideas, tutorials, examples, Office APIs(if there is such a thing) or something like that? BTW, I'm using VC++, NOT VB(I kind of had enough of VB tutorials X| Thanks! Doru K.
-
Hi! I have a question for you, older & more skilled (then me :) ) COM programmers. I have an ATL Addin for MSOutlook2k. For now, it only displays some buttons in outlook (thanks Amit Dey! great tutorial!), but I would like to send an e-mail when pressing one of them(with some content set by me). Any ideas, tutorials, examples, Office APIs(if there is such a thing) or something like that? BTW, I'm using VC++, NOT VB(I kind of had enough of VB tutorials X| Thanks! Doru K.
The easiest way (IMO) to work out how to do something using the Office object models is to prototype it in VBA (sorry...), then translate to VC++. It's not too tricky - you need to translate GetObject & CreateObject calls and work out how to call methods and access properties Hmmm - I found this page[^] on Google - that might help? <edit> This[^] might help even more - it converts VB automation code (i.e. what all the Outlook samples are written in) to C... </edit> Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'
-
The easiest way (IMO) to work out how to do something using the Office object models is to prototype it in VBA (sorry...), then translate to VC++. It's not too tricky - you need to translate GetObject & CreateObject calls and work out how to call methods and access properties Hmmm - I found this page[^] on Google - that might help? <edit> This[^] might help even more - it converts VB automation code (i.e. what all the Outlook samples are written in) to C... </edit> Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'