i used Dim dbFileName As String = Application.StartupPath & "\main.mdb" but everytime i run vb.net copies ms access main.mdb file in the debug folder of my project. Infact i just want to read from the main.mdb file which resides in my project and it's already added. i changed the properties of the database in vb not to copy an instace to the output folder but then my application doesn't run it says it couldn't file the database file. Somehow it always try to read from the debug folder. Please ..........Please help me out i am stuck completely
thankssssssssssssssssssssss