I checked the directory names and they are fine.
Really? With this code:
VB Code:
strPath = App.Path
strPath = strPath & "C:\Documents and Settings\Tim\Desktop\Program\Database\database.mdb"
You will get a directory/file name like this:
C:\test\C:\Documents and Settings\Tim\Desktop\Program\Database\database.mdb
..which isn't valid 
If the database is in the same folder as your application, you can use this:
VB Code:
strPath = App.Path & "database.mdb"
or if it is a fixed path,use this:
VB Code:
strPath = "C:\Documents and Settings\Tim\Desktop\Program\Database\database.mdb"