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. Visual Basic
  4. display Outlook NoteItem at loading

display Outlook NoteItem at loading

Scheduled Pinned Locked Moved Visual Basic
comquestion
1 Posts 1 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.
  • V Offline
    V Offline
    vancouver777
    wrote on last edited by
    #1

    I am developing outlook Com Addin. At loading mynotes.msg( notes ) to outlook, I also want to launch this note. NoteItem as member function called Display, however it doesn't do anything. The following is the exact code from my app for launching loaded note(msg file). Something wrong with my code or know workaround to launch this loaded note item? Dim objNameSpace As Outlook.NameSpace Dim objMAPIFolder As Outlook.MAPIFolder Dim objNoteItem As Outlook.NoteItem Dim str_Body As String Set objNameSpace = otlkDoc.GetNamespace("MAPI") Set objMAPIFolder = objNameSpace.GetDefaultFolder(olFolderNotes) Set objNoteItem = otlkDoc.CreateItemFromTemplate(str_FileName) objNoteItem.Save objNoteItem.Display Set objNoteItem = Nothing

    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