Fastest way to interface between live (unsaved) Excel data and C# objects

I’ll take this as a challenge, and will bet the fastest way to shuffle your data between Excel and C# is to use Excel-DNA – http://excel-dna.net. (Disclaimer: I develop Excel-DNA. But it’s still true…) Because it uses the native .xll interface it skips all the COM integration overhead that you’d have with VSTO or another … Read more

Unable to cast COM object of type ‘microsoft.Office.Interop.Excel.ApplicationClass’ to ‘microsoft.Office.Interop.Excel.Application'”

For Microsoft Office 365 in Windows 10 I was running Microsoft Office 365 with Windows 10 and tried the mentioned solutions to remove the registry key without success. I went to Settings -> Apps in an attempt to repair the Office 365 suite: To get there you can follow these steps: Open Start Select Settings … Read more

Type exists in 2 assemblies

I know this is old, but there’s an easier way than the listed. This works when you reference two assemblies that share types with the exact same name and namespace. If you right-click on the Reference to your DLL and select Properties, you will see that here’s a property called “Aliases” The default value is … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)