Welcome to the forum! Please paste code between code tags. Click the # icon on reply toolbar to insert the tags.

Is DBFullname a drive:\path\filename.dbf or a DSN? If the later, it has to be set up by and administrator. Press the Windows key and type ODBC and select 32 or 64 bit as used by the database.

Adding the DSN will add entries to the registry as would installation of MDAC. I am not sure which you are talking about for the registry issue.

Obviously, your connection string must be right. https://www.connectionstrings.com/

There may be a need for username or password?

What does a Compile show?