I have developed a Visual Basic program in Visual Studio that connects to a PostgreSql database using NPGSQL. Now I am trying to do the same in Excel VBA: Using NPGSQL to connect to the PostgreSql database. I guess that I in the VBA editor should use Tools/References to add a reference to some NPGSQL library, but which library should I select?
Alternatively I could perhaps use ADO instead of NPGSQL, but I prefer NPGSQL as it should be more efficient.