I made simple database project. just add a data and see it. but when I run it another computer it show a massage. massage is below:

'E:\Vb6\New folder\db1.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected the server on which the file resides.

When I Press ok (in massage) the exe is running. no problem occurd. problem is only the massage. anybody help me.

Recommended Answers

All 2 Replies

'E:\Vb6\New folder\db1.mdb' this path doesn't exist in that particular computer in which you run the program

better use "app.path"

sorry , you are right. I use your code but One of data control use manualy.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.