如何在每台PC上运行VB程序(设置)& O / S?

如何在每台PC上运行VB程序(设置)& O / S?

问题描述:

我使用Visual Studio 2013(vb)开发了一个数据库应用程序(Access),它可以在我的PC上运行Windows 8.1(x64),但是在另一台装有Windows 7(x64)的PC上运行后却无法运行。



我的应用程序未安装应用程序...只需使用功能视觉工作室

---->构建解决方案然后复制Debug文件夹并粘贴另一台pc

和* .exe文件使用...



只需弹出消息

你想发送更多关于这个问题的信息吗?



如何让它在每台PC上运行正常O / S Windows XP或7等System32或64bit?



谢谢。

I developed a Database application(Access) using Visual Studio 2013(vb) which runs fine on my PC with Windows 8.1 (x64) but after excute on another PC with the Windows 7(x64), but cannot run.

My Application is not installed app... just use function visual studio
----> Build solution and then copy the "Debug" folder and paste another pc
and *.exe file use...

Just popup the message
"Do you want to send more information about the problem?"

How can I make it run fine on every PC O/S either Windows XP or 7, etc. System32 or 64bit?

Thanks.

你需要将它重新定位到最低版本的.NET,即一个可用作XP标准。您还应该将其设置为32位而不是64位。并且您不应该在其他PC上使用Debug版本,因为它依赖于仅适用于Visual Studio的库。
You need to retarget it to the lowest version of .NET, i.e. the one available as standard on XP. You should also make it 32-bit rather than 64. And you should not use the Debug version on other PCs as it relies on libraries that are only available with Visual Studio.