MessageBox 'Could not load TalkAPI library' pops up after defining an Excel Application in C# .Net Framework 4.5

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



MessageBox 'Could not load TalkAPI library' pops up after defining an Excel Application in C# .Net Framework 4.5



I would like to load data into an Excel file via the Com Interface to Excel in C#. Before this I define an Excel Application:


using Microsoft.Office.Interop.Excel;

Microsoft.Office.Interop.Excel.Application excelapplication = new Application();

...



After the defintion of the application a MessageBox pops up which shows the following text: 'Could not load TalkAPI library'.



Does anybody know what this is about? I could not find a thing online.



Thanks a lot for your help in advance!





First, I recommend you fully qualify Application. It won't necessarily be clear to C# that you mean Excel, and not itself. In what application window is this message displaying? Is it looking for something in your .NET code, or in Excel? It's possible that the Excel installation on the machine where this is running has an add-in that's looking for this. Do you see the problem when you start Excel on the same machine as a user?
– Cindy Meister
Aug 10 at 14:32


Application





The message is displayed directly after defining the application as a Message coming from Excel. What do you mean with 'qualifiying' in this context? I am not shure about the add-in. Where can I see this? I don't see this problem on the same machine as a user.
– leviathan
Aug 10 at 14:46






Fully qualify: Microsoft.Office.Interop.Excel.Application excelapplication = Microsoft.Office.Interop.Excel.Application();
– Cindy Meister
Aug 10 at 15:26


Microsoft.Office.Interop.Excel.Application excelapplication = Microsoft.Office.Interop.Excel.Application();





If you google "TalkAPI" there are "hits". No idea which one this might be. But something is certainly referencing it...
– Cindy Meister
Aug 10 at 15:28





I could not find a solution yet. Maybe I have to use an older Interop dll?! I am using Excel 2010
– leviathan
Aug 16 at 12:01










By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard