Results 1 to 7 of 7
  1. #1
    2 Star Lounger
    Join Date
    Nov 2001
    Location
    Watford, Hertfordshire, England
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Removing com addins automatically (2003)

    I have a com addin that has put two items in my help menu and registered a dll. I would like to remove these items programatically as I have to do it on a lot of machines. I tried to record my moves to give me a start but PowerPoint does not record anything like right click and customize etc.

    Any starters for ten?
    Neil Eustice
    Woody Worshipper

  2. #2
    Super Moderator
    Join Date
    Aug 2001
    Location
    Evergreen, CO, USA
    Posts
    6,623
    Thanks
    3
    Thanked 60 Times in 60 Posts

    Re: Removing com addins automatically (2003)

    You haven't received any responses to your question, and I think that means it isn't possible to record a VBA procedure to do what you wish. In particular, removing an entry in the register using VBA is a somewhat risky proposition. As it sometimes turns out, this is probably a case where it would be quicker to go to each machine and perform the removal procedure that it would be to develop an automated process.
    Wendell

  3. #3
    2 Star Lounger
    Join Date
    Nov 2001
    Location
    Watford, Hertfordshire, England
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Removing com addins automatically (2003)

    Nice thought but unfortunately I am talking about 10,000 computers [img]/forums/images/smilies/smile.gif[/img]

    I will keep working on something from my end. Thanks anyway.
    Neil Eustice
    Woody Worshipper

  4. #4
    Super Moderator
    Join Date
    Aug 2001
    Location
    Evergreen, CO, USA
    Posts
    6,623
    Thanks
    3
    Thanked 60 Times in 60 Posts

    Re: Removing com addins automatically (2003)

    <img src=/S/confused.gif border=0 alt=confused width=15 height=20>How on earth did a com addin get installed on 10,000 computers that didn't want it??? Never mind - it was a rhetorical question. In general, you need to use regsvr32 to unregister a dll, so you will either need to shell to a command line or execute a batch file. As to the Help Menu removal, you might want to post a question in the VBA forum - I'm not sure that part of the PowerPoint object model is actually exposed to VBA.
    Wendell

  5. #5
    2 Star Lounger
    Join Date
    Nov 2001
    Location
    Watford, Hertfordshire, England
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Removing com addins automatically (2003)

    When it was installed it was wanted - but times change and so do our menu needs. I will check out the VBA guys.

    Thanks
    Neil Eustice
    Woody Worshipper

  6. #6
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Removing com addins automatically (2003)

    One can write code that uses the API to remove the critters.

    I'd have to look at the code, but http://www.standards.com/OhMyWord/SetRefer...ordProject.html may include code that would point you in the right direction.

  7. #7
    2 Star Lounger
    Join Date
    Nov 2001
    Location
    Watford, Hertfordshire, England
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Removing com addins automatically (2003)

    Thanks for that. I'll have a look.
    Neil Eustice
    Woody Worshipper

Posting Permissions

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