Questions tagged as 'interop'

0
answers

c # outlook SendEventHandler opening object only once

In my application I use SendEventHandler from Outlook to capture the click on the "Send" button of the email in outlook and open a screen for the observation of the email that was sent. I have the main class where I generate the emails: pub...
asked by 24.02.2017 / 22:51
1
answer

Remove element in interop

I'm developing a tool that will generate a file in .DOC format, the form fields will be filled anyway but I would like to put a formatting that removes any symbol from the text. Ex: "•", "¹²³ £ ¢ ¬" var atividades = wordDoc.Content.Paragrap...
asked by 29.05.2017 / 18:33
0
answers

PowerPoint.dll (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))

Error description:    Failed to recover factory COM component classes with CLSID   {91493441-5A91-11CF-8700-00AA0060263B} due to the following error:   80010001 The call was rejected by the call. (Exception from HRESULT:   0x80010001 (RPC_E_C...
asked by 28.03.2017 / 13:32
2
answers

Generate an excel file from a data grid C #

I'm trying to generate an excel file from a datagrid, and this is generating the following error: Anunhandledexceptionoftype'System.InvalidCastException'occurredinEletronicTaxNotes.exeAdditionalinformation:TheCOMobjectoftype'Microsoft.Office.In...
asked by 02.05.2017 / 15:44