使用 INNO SETUP Compiler 5.3.8 创建可执行文件

发布于 2024-09-12 14:43:38 字数 307 浏览 3 评论 0原文

当我为使用 VisualStudio 2010MSAccess 2010 创建的应用程序创建可执行文件时,我遇到了问题。我安装了该应用程序并创建了一个快捷方式,但是当我运行该应用程序时,会生成一个错误,指出在快捷方式的同一目录中找不到数据库文件(当我在桌面中创建快捷方式时:在中找不到 BD.accdb) C:\Users\Achraf\Desktop\BD.accdb 或当我从“开始”->“所有程序”运行应用程序时->“MyApp :BD.accdb 在 C:\Windows\System32\BD.accdb 中找不到”。

i have a problem when i create an executable file of my application created using VisualStudio 2010 and MSAccess 2010. I instal the application and I create a shortcut but when i run the application an error is generated saying that the Data Base file is not found in the same directory of the shortcut (when i create a shortcut in desktop : BD.accdb not found in C:\Users\Achraf\Desktop\BD.accdb or when i run the application from Start-> all programs-> MyApp :BD.accdb not found in C:\Windows\System32\BD.accdb) .

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

も让我眼熟你 2024-09-19 14:43:38

请检查快捷方式的工作目录设置。当您查看快捷方式的属性时,这是在“Start In”属性中设置的

Please check the working directory set for the shortcut. This is set in the "Start In" property when you view the properties of the shortcut

冷情妓 2024-09-19 14:43:38

确保使用 {app} 提供文件的完整路径:

Filename: {app}\BD.accdb; WorkingDir: {app}

Make sure you provide the full path to the file using {app}:

Filename: {app}\BD.accdb; WorkingDir: {app}
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文