Hmm, I doubt this is the problem, because I also get this warning here, but the dlls get created fine.Intexso wrote:Hello,
I need a connection to the 'real Excel'.
@Chris: In the folder C:XIDEAssembliesInterop is created a subfolder for the ExcelLib. But in this subfolder there is no DLL. I think it is because of the error (error TI1033 : Cannot find type 'Microsoft.Office.Core.MsoGraphicStyleIndex' in 'Office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. There could be a mismatch between the referenced assembly and the type library) which is generated.
I think this error has something to do with the warning which says that it is already registered. But I don't understand what to do about this.
It must be something else, but let's not spend more time doing it this way, just do as Robert said, search for "Microsoft.Office.Interop.Excel" in your disk (most likely inside C:Program Files (x86)) and you will most probably find the .dll already created, so just add a reference to it. In case the file still doesn't exist, please do as the help file says, use VS to generate it, then again copy the dll to a location you prefer and add a reference in your app to it.
Please let me know if one of the above works for you.
Chris