All.
I have used a DLL approach explained on How to securely store Connection String details in VBA
This code is running very well on windows 10 64 bit and MS Office 64 bit. But same copy of the files i am not able to use on Wndows 8.1 Pro and MS Office 64 bit.
DLL generated is converted to host machnines environment by using
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\regasm c:\windows\syswow64\OraConnection.dll /tlb /codebase
But still same error i am facing. About environment variables care has been taken. My Connection string is
"Provider=OraOLEDB.Oracle; Data Source = ; User ID =; Password=";
c:\windows\syswow64
is the location for 32-bit assemblies. By default a 64-bit application does not read anything from there. Do you have an Oracle Client (include "Oracle Provider for OLE DB" driver) installed on your Windows 8.1? – Wernfried Domscheit Dec 13 '17 at 19:09