VB .Net与MS访问部署 [英] VB .Net with MS access deployment

查看:76
本文介绍了VB .Net与MS访问部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用数据库部署VB.Net应用程序作为msaccess



1.我创建了包含Ms Access db文件的设置

2.当我安装安装数据库进入ProgramFiles目录时,由于只读问题我无法更新。



如何将连接路径转移到Virtualstore目录当我更新数据库

I want to deploy VB.Net application with database as msaccess

1. I created the setup that contains Ms Access db file
2.When i install the setup database goes inside ProgramFiles Directory so that i cannot be updated due to read only problem.

How to divert the connection path to Virtualstore directory when i am updating database

推荐答案

虚拟商店?这就是Windows存放文件的地方,哪些用户具有不足的权限。当文件到达时,这意味着程序员没有正确设计他的程序!

ProgramData目录是正确的位置。

另请参阅访问被拒绝问题 [ ^ ]
"Virtualstore"? That's where Windows deposits files which user with insufficeient privileges changed. When a file gets there, it means that the programmer designed his program not correctly!
The ProgramData directory is the correct location.
See also Access denied problem[^]


只需通过更改扩展名来添加数据库mdb并在用户首先运行应用程序时更改exetension然后它将不是只读格式





Mahesh Ghodke

PlayMate IT软件服务Omerga
Just Add Your Database by changing the extension of the mdb and change exetension when the user run the application first then it will not be a read only formate


Mahesh Ghodke
PlayMate IT Software Services Omerga


将数据库移动到application.startuppath并替换连接字符串。



您始终可以在客户端计算机上访问它。
Move your database to "application.startuppath" and replace connection strings.

You can always access it on client machine.


这篇关于VB .Net与MS访问部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆