Re: Exception in Addin , plzzz help

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Sajin,
Can you provide your code and show the exact line of exception?

Regards,
Pavan

sajin wrote:
HI All,


I have addin in word which converts the word document into PDF.
While the conversion the active printer of the document is set to the
printer which converts the document to PDF. After conversion is done
the ActivePrinter is set back to default printer.
At the end of code it code throws exception:-
"Exception has been thrown by the target of an invocation"


Please help out what can be done to get read of this exception.

Thanks and regards
-Sajin

.



Relevant Pages

  • Exception in Addin , plzzz help
    ... I have addin in word which converts the word document into PDF. ... While the conversion the active printer of the document is set to the ...
    (microsoft.public.office.developer.com.add_ins)
  • Exception has been thrown by the target of an invocation while setting default printer back to docum
    ... I have addin in word which converts the word document into PDF. ... While the conversion the active printer of the document is set to the ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Extracting pages from PDF based on colour figures
    ... I then print each PDF file on the appropriate printer. ... that can also be used to extract pages ... Exception in thread "main" java.lang.NoClassDefFoundError: ... I also noticed that the coloured boxes around hyperlinks are selected as ...
    (comp.text.tex)
  • System.StackOverflowException
    ... I am using Word 2003 interop to read and write into activeX controls that I am using inside Word document. ... //these are the set of code that threwthe above said exception ... Return strText ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Embed and automate a Word document with MFC
    ... the code shown in that example violates a lot of the principles of exceptions ... "any old exception" and having a catch that catches any exception is particularly ... I can not use this sample to open an existing Word document. ...
    (microsoft.public.vc.mfc)