Hello,
This is my first post, I have found this forum using Google, maybe someone can help me with my question as I cannot find an answer through google.
I would like to save a filename to an Access database using an Open File Dialog. The program I am building is an Mp3 player. The way it works is when a user clicks the load button the open file dialog filename is saved into the database and added to the listbox playlist queue from the database.
I have saved a file into the database if that file is stored in the \bin folder but If I need to access a parent directory and save that filename e.g C:\mp3\my tune.mp3 I get an error.
"c:\mp3\system\playlist.mdb is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides."
c:\mp3 is the directory returned from the open file dialog and \system\playlist.mdb is where the database is stored. Why is VB.NET placing these two together and how can I access an .mp3 file that is stored anywhere on the computer and not just the \bin folder..?
This is my first post, I have found this forum using Google, maybe someone can help me with my question as I cannot find an answer through google.
I would like to save a filename to an Access database using an Open File Dialog. The program I am building is an Mp3 player. The way it works is when a user clicks the load button the open file dialog filename is saved into the database and added to the listbox playlist queue from the database.
I have saved a file into the database if that file is stored in the \bin folder but If I need to access a parent directory and save that filename e.g C:\mp3\my tune.mp3 I get an error.
"c:\mp3\system\playlist.mdb is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides."
c:\mp3 is the directory returned from the open file dialog and \system\playlist.mdb is where the database is stored. Why is VB.NET placing these two together and how can I access an .mp3 file that is stored anywhere on the computer and not just the \bin folder..?