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. C#
  4. C# Office Addins

C# Office Addins

Scheduled Pinned Locked Moved C#
csharphelptutorialquestion
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.
  • C Offline
    C Offline
    Chris Ormerod
    wrote on last edited by
    #1

    Can anybody please help on a problem I am having? My problem is that I need to be able to get the name of the application that my AddIn has been loaded into (Word, Excel etc.). I assume I use the application object that gets passed into the OnConnection method, but I am unsure how to get the reference to the "Name" property. Does anybody have any samples or references that might help me in my endeavours?


    Have a look at my website: http://www.chrisormerod.cjb.net

    K 1 Reply Last reply
    0
    • C Chris Ormerod

      Can anybody please help on a problem I am having? My problem is that I need to be able to get the name of the application that my AddIn has been loaded into (Word, Excel etc.). I assume I use the application object that gets passed into the OnConnection method, but I am unsure how to get the reference to the "Name" property. Does anybody have any samples or references that might help me in my endeavours?


      Have a look at my website: http://www.chrisormerod.cjb.net

      K Offline
      K Offline
      Kannan Kalyanaraman
      wrote on last edited by
      #2

      Chris Ormerod wrote: Does anybody have any samples or references that might help me in my endeav Hi Chris, There are lot of references / articles on msdn on how to go about writing addins using managed code. For starting take a look at this Creating Office Managed COM Add-Ins with Visual Studio .NET[^] Also have a look at this [^] article, which might help you with your specific problem. Hope this helps. Cheers Kannan

      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