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. COM
  4. Not getting DocumentOpen notification while opening winword document.

Not getting DocumentOpen notification while opening winword document.

Scheduled Pinned Locked Moved COM
help
2 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.
  • S Offline
    S Offline
    sksaran
    wrote on last edited by
    #1

    I am developing ComAddin for winword in which i'm not getting DocumentOpen notification for a particular document. But at the time of closing,I'm getting notification at DocumentBeforeClose. That particular file does not contain any macro. At the time of opening it is showing the macro-Warning(macros have been disabled) If i enable the content, i'm getting the "File Not found" error message from Visual Basic. Because of this macro I'm not getting open call or there would be some other reason. Thanks in advance.

    S 1 Reply Last reply
    0
    • S sksaran

      I am developing ComAddin for winword in which i'm not getting DocumentOpen notification for a particular document. But at the time of closing,I'm getting notification at DocumentBeforeClose. That particular file does not contain any macro. At the time of opening it is showing the macro-Warning(macros have been disabled) If i enable the content, i'm getting the "File Not found" error message from Visual Basic. Because of this macro I'm not getting open call or there would be some other reason. Thanks in advance.

      S Offline
      S Offline
      SNI
      wrote on last edited by
      #2

      If you are able to sink documentopen same as documentbeforeclose then there will not be any problem that u have coded. Since your documentbeforeclose is working fine. This could be bacoz of macro. try to remove macro and then run ur addin.

      SNI

      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