My program asks the user for the location of the database and stores the location in the variable "filename"

I then have this:
Dim ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & filename

but apparently I can't do that. What am I missing here?