Not quite clear on how you access the database, if you are using 32 bit office on 64 bit system and are creating a DSN with ODBC connection manager you need to run the 32 bit version Odbcad32.exe, the one in control panel will be the 64 bit version and the registry keys are stored in different locations for each version.
You can download the ACE OLEDB 12 file from MS and install it with your application or use OLEDB without the Office module the result is the same but you do not need Office or the module installed.
Download Microsoft Access Database Engine 2010 Redistributable from Official Microsoft Download Center[
^]
Lots of examples online if you search for OLEDB and Access database but a simple connection string;
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=your database file name here;"