error¶
Map HRESULT and Exception¶
https://docs.microsoft.com/en-us/dotnet/framework/interop/how-to-map-hresults-and-exceptions?view=netframework-4.8
Error: Class not registered¶
DAO = Microsoft.Office.Interop.Access.Dao
When running a Visual Studio application, the default Common Language Runtime (CLR) platform in the Visual Studio is set to Any CPU. This default must be changed on 64-bit computers to compile the assemblies with the 32-bit, x86 compatible CLR.
.NET Framework 4.8 not showing in VS¶
install .NET Framework 4.8 Developer Pack and restart VS
This application requires one of the following versions of .NET Framework¶
but the .Net version exists. Solution: the .NET version in the app.config file is not correct