I can't find the solution to my problem. So I asked.
con.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source = " & Path.Combine(Application.StartupPath, "piglets.accdb")
I was using Access 2010. It was working fine, with me and other PC's. Then I needed to change my database, it was given to me as a working sample from SO.
piglets.accdb
- This is 2010 too, I think. I opened it, worked fine, incorporated it to my newly created app, with the same exact code. It was working with me, but not until I opened it to another PC, says, "Unrecognized database format" at Form_Load
UPDATE (Does this problem apply on PC's without MS Access?) I tried the working App on the PC without Access, and it was working fine.
And on a laptop, it did throw an error upon saving, but it was working with the first 2010 database.
What am I missing?
UPDATE 2 I re-created the database given to me by Gord, to a 2007 format (which was the database that worked on the other PC.) I tried it out, used the newly created one (2007 format with macros) its working fine on my PC, but then again, its not on the other PC. still, Unrecognized Format :/