Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. An Outlook Addin issue

An Outlook Addin issue

Scheduled Pinned Locked Moved ATL / WTL / STL
c++questioncomhelptutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dorutzu
    wrote on last edited by
    #1

    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.

    S 1 Reply Last reply
    0
    • D dorutzu

      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.

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #2

      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'

      D 1 Reply Last reply
      0
      • S Stuart Dootson

        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'

        D Offline
        D Offline
        dorutzu
        wrote on last edited by
        #3

        Thanks a lot! I hope it will work out...the code convertor is such a great ideea! Thanks again, Doru

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups