且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

vb6中的安装文件和数据库创建

更新时间:2023-11-27 09:23:40

请检查以下路径,其中可能有您的数据库文件:
Please check the following path, there could be your database file:
x64
C:\Users\<your_user_account>\AppData\Local\VirtualStore\Program Files\My folder\

x86
C:\Users\<your_user_account>\AppData\Local\VirtualStore\Program Files (x86)\My folder\


我想您面临UAC权限.不久前,我遇到了类似的问题,我发现即使您的帐户在Win7中具有管理特权,默认情况下也不允许某些用户的操作准确地写入Program Files(或Program Files(x86))文件夹中,您必须运行以管理员身份"应用程序才能在这些文件夹中进行写入,或者您可以选择另一种方式-禁用虚拟存储( ^ ]).但是,如果您需要我的意见,那根本不是个好主意.


I suppose you faced with UAC permissions. I experienced a similar issue some time ago and I found that even if your account has administrative privileges in Win7, some of user''s actions to write exactly in Program Files (or Program Files (x86)) folder are not permited as a default, you have to run applications ''As Administrator'' to write in these folders, or you can choose another way - to disable Virtual store (http://www.interworks.com/blogs/dsmith/2011/09/21/disabling-windows-7-virtual-store).[^]). But if you want my opinion it is not a good idea at all.