I know what the problem is, for some reason My settings dose'nt save the Path to the DB and therefor my connection string has no path Value, when i set the Path manualy it works like a charm!
now i need to figure out Why it dose'nt save the path at my settings
it saves the ImgOutput Path but not the DB Path
heres the code:
Private Sub Settings_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
DBBox.Text = My.Settings.DBPath.ToString()
ImgBox.Text = My.Settings.ImgOutput.ToString()
End Sub
Private Sub DoneBTN_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DoneBTN.Click
My.Settings.DBPath = DBBox.Text
My.Settings.ImgOutput = ImgBox.Text
MsgBox("Settings saved successfully!")
Me.Close()
End Sub