Results 1 to 4 of 4

Thread: OFFICE Addin problem

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Posts
    16

    OFFICE Addin problem

    I have created an add-in for MS Word which includes adding a button and when the button clicked, a form is loaded. It works fine with the Word.

    However, if more than one instance invoked, only the first instance and load the form when the button is clicked. However, all the instances have the button shown.

    Could any one help me to solve this problem?

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    I think I'm right in saying that you need to save the code & button into the Normal.dot template file, that way, any new instances of word which are created will contain this script & you're button will work throughout every instance...

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Posts
    16

    Angry

    Could you tell the me the way to create the .dot?

    And if I want to create install the add-in using PDW, where should be install the .dot ?

  4. #4
    New Member
    Join Date
    Oct 2002
    Posts
    3

    save the document as .dot

    hi,

    You can create a normal word document as while saving it save it as .DOT extension
    and if u want to to launch everytime u load word then

    place that .dot file in this directory

    c:\program files\ms office\office\startup\test.dot


    and when u launch word this .dot file will be launched as well.


    pivi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width