无效的路径 [英] invalid path
问题描述
你好...
我已经创建了一个vb项目以及MS Access(.mdb)数据库.但是在我安装程序后,我收到了.net框架错误消息(您的应用程序中发生未处理的异常,路径无效).
i have created a vb project along with MS access (.mdb) database. but after i install the program i get an .net framwork error message(unhandled exception occured in your application,invalid path).
这是我使用的代码:
将b作为新的oledb.oledbconnection
dim b as new oledb.oledbconnection
b.ConnectionString =
b.ConnectionString =
非常感谢 推荐答案
检查安装该应用程序的系统在此路径中是否具有以下文件
C:\ Users \ Nimer \ Documents \ Tarco.mdb Check whether the system in which the application is installed has the following file in this path
C:\Users\Nimer\Documents\Tarco.mdb 通过将路径保存在可执行文件所在的应用程序"文件夹中来更正路径.它将帮助您解决此错误. Correct the path by keeping it within the Application folder where your executables are & it would help you to resolve this error.
这篇关于无效的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!