Include the code in your application, and call it from a Button Click event handler.
Pass it the full path (for example: @"D:\Temp\My Databases\MyDB.accdb") in the first parameter, and an instance of Access in the second:
Microsoft.Office.Interop.Access.Application msAccess = new Microsoft.Office.Interop.Access.Application();
Wait. Probably a long time...