'Este codigo va en la vista de codigo del DataEnvoroment que uses
private gsdatabaseName = "\PUBLICACION.MDB"
'Connection1 es la conexion que uses para la DB...
Private Sub Connection1_WillConnect(ConnectionString As String, UserID As String, Password As String, Options As Long, adStatus As ADODB.EventStatusEnum, ByVal pConnection As ADODB.Connection)
connection1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=" + app.path + gsdatabaseName
End Sub