Re: Possible to check if an add-in is enabled using API ?



Any idea what thecall for SaveAsPDF addin is? I just want to make sure
its loaded, otherwise the user wont know why the macro button didnt
save a pdf.

Good question indeed - it is not an addin no more in SW2006, so it's hard
for me to find it out. I assume, that one way to find it out could be
following:

- Open registry editor
- Browse to HKEY_LOCAL_MACHINE\Software\SolidWorks\Add-Ins
- Browse through add-in keys (named{xxxx.xxx..}) and find the one with
correct Description value
- Copy the addin key GUID to clipboard (long number in curly brackets)
- Use the find tool in registry editor and try to find that key in
HKEY_CLASSES_ROOT folder

You should be able to find a folder with same key name, and under that a
folder named ProgID. For example, the GUID for HarnessWorks dll seems to be
{5D4259AC-8693-4423-88C4-14618B5E9151}, and the ProgID is
HWorks.HarnessWorks.1, therefore the function call for that add-in would be

Dim foo as Object
set foo = swApp.GetAddinObject("HWorks.HarnessWorks.1")

Hope this helps, sorry that I could not be more specific regarding PDF
add-in!

-h-


.



Relevant Pages

  • Re: Word add-in deployment
    ... I assume that you're creating a COM addin (tho I really don't ... I now want to install the ... > resulting folder to the target computer and run setup.exe in this folder. ... > opening the add-in in MS Word, I got the error message "not a valid Office ...
    (microsoft.public.word.vba.general)
  • Re: using a *.xslm add-in with several users
    ... addin in the same folder name: ... I wrote an Excel add-in which I want two distinct users to use. ...
    (microsoft.public.excel.programming)
  • Re: How to link a pdf document to a webpage for down load ?
    ... Can i use sharePoint to amend my PUB File? ... Can primo covert GIF to PDF? ... 'images' folder plus many others as I build my site with multiple Publisher ...
    (microsoft.public.publisher.webdesign)
  • RE: incoming mail to sharepoint+PF+folder
    ... I understand that your inbound faxes via PDF ... the attachments in companyweb and Public Folders and disk folder, ...
    (microsoft.public.windows.server.sbs)
  • Re: Mail merge to PDF
    ... docx in front of them. ... It does not use the Acrobat add-in with its ... This PDF add-in does not have any ... Word MVP web sitehttp://word.mvps.org ...
    (microsoft.public.word.mailmerge.fields)