Assuming you've deployed the database file to the same folder as your application, use
|DataDirectory|
in your connection string to point to that directory:
Dim con As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\hardware.accdb")
However, if your application is installed under the "Program Files" folder, then it will not have permission to update the database file unless you run it elevated (right-click, "Run as administrator").