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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Word events

Word events

Scheduled Pinned Locked Moved C#
question
4 Posts 3 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.
  • C Offline
    C Offline
    Christer Claesson
    wrote on last edited by
    #1

    Hello I have a question about Microsoft Word events. I know it is possible to catch events cast in Word if you do something like this and start Word through your program. oWord = new Word.Application(); oWord.Visible = true; But is it possible to have a program in the "background" and when the user starts Word manually it starts to listen to the events? This sounds impossible to me, but would be nice if it was not :) Thanks

    D A 2 Replies Last reply
    0
    • C Christer Claesson

      Hello I have a question about Microsoft Word events. I know it is possible to catch events cast in Word if you do something like this and start Word through your program. oWord = new Word.Application(); oWord.Visible = true; But is it possible to have a program in the "background" and when the user starts Word manually it starts to listen to the events? This sounds impossible to me, but would be nice if it was not :) Thanks

      D Offline
      D Offline
      Daniel Turini
      wrote on last edited by
      #2

      Christer Claesson wrote: But is it possible to have a program in the "background" and when the user starts Word manually it starts to listen to the events? This sounds impossible to me, but would be nice if it was not Instead of this, you could write a Word macro or an addin that would call your program only when necessary. This way, your program would not even need to be in "background" all the time, only when needed. Yes, even I am blogging now!

      C 1 Reply Last reply
      0
      • D Daniel Turini

        Christer Claesson wrote: But is it possible to have a program in the "background" and when the user starts Word manually it starts to listen to the events? This sounds impossible to me, but would be nice if it was not Instead of this, you could write a Word macro or an addin that would call your program only when necessary. This way, your program would not even need to be in "background" all the time, only when needed. Yes, even I am blogging now!

        C Offline
        C Offline
        Christer Claesson
        wrote on last edited by
        #3

        Ah, true. I've been looking around and learning about addins now and they seem to be able to do what I want. Thanks

        1 Reply Last reply
        0
        • C Christer Claesson

          Hello I have a question about Microsoft Word events. I know it is possible to catch events cast in Word if you do something like this and start Word through your program. oWord = new Word.Application(); oWord.Visible = true; But is it possible to have a program in the "background" and when the user starts Word manually it starts to listen to the events? This sounds impossible to me, but would be nice if it was not :) Thanks

          A Offline
          A Offline
          Alex Korchemniy
          wrote on last edited by
          #4

          Search for "Word addin" This posting is provided "AS IS" with no warranties, and confers no rights. Alex Korchemniy

          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