如何在没有任何DLL错误的64位操作系统上运行vb.net 32​​位项目? [英] How to run a vb.net 32bit project on a 64bit OS without any dll errors?

查看:69
本文介绍了如何在没有任何DLL错误的64位操作系统上运行vb.net 32​​位项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将入学考试项目作为我的迷你项目。我已经完成了我的设计,并且还连接了数据库,几乎用我的编码完成了
。我在我的桌面上做我的项目,并在pendrive中复制

以向我的队友展示我的进步。他们有运行64位操作系统的
ptops, 这里我的项目是用32位s构建的。
ystem。那么在我的笔记本电脑上复制我的项目之后究竟发生了什么,我只在ADODB字样上出现了很多错误,并且完全接受了
e接口的改变。我的控件将被移动,并且他们的笔记本电脑中的界面会增加,并且需要使用scro

ll bar来查看整个界面。但是在我的电脑里,我设计了一个确切大小的屏幕。因为界面不会完全适合屏幕,所以很少有控件可见。所以我需要再次在他们的笔记本电脑中重新配置
并显示:(。



我不知道为什么会发生这种情况并且没有解决方案我有。



我请求你们帮忙..请帮助我们:(



谢谢youuu

I am making a Entrance exam project as my mini project. I have
completed my design and also connected with database and almost
done with my coding . I do my project in my desktop , and copy
in pendrive to show my progess to my group mates. They have la
ptops running 64bit os, and here my project is built in 32bit s
ystem. So what exactly happens after copying my project in thei
r laptop, I get many errors only on ADODB words, And totally th
e interface gets changed. My controls will get moved and the si
ze of interface increases in their laptops and need to use scro
ll bar to view the entire interface. But in my computer i desig
n exact size of the screen. Because the interface wont exactly
fits on the screen, few controls wont be visible. So i need to
reconfigure again in their laptops and show:(.

I don't known why this is happening and no solution i have.

I request you guys for help..Please Help meee:(

Thank youuu

推荐答案

我有一个使用MS Access数据库的程序.64位操作系统没有运行它所需的喷气引擎。所以我用一个程序编译我的程序目标是32位机器的CPU。这让64位操作系统知道它必须使用32位的东西,喷气引擎才能工作。正如Richard MacCutchan评论的那样,你可以用安装程序设置这样的东西,这样用户就不会必须跳过箍才能安装它。不知道你使用和需要安装什么第三方的东西,就不可能确切地告诉你需要做什么。如果你有更多细节,请点击改善问题链接并将它们添加到你的问题。



至于显示问题。 ...您将控件设计为屏幕的确切大小。但这意味着什么?如果您的程序在显示器上以不同的分辨率设置运行,它可能会扭曲所有内容。由于可以做到这一点的视力问题,还有需要更大字体的人的显示设置。当我创建一个Windows窗体项目时,我通常将其设计为800x600屏幕。我这样做是因为我设计的东西可以很容易地放大以获得更大的分辨率。如果你设计一个更大的表单并且它以更小的分辨率显示,那么操作系统没有很好的方法来解释它,所以事情搞砸了。此外,您可能需要查看控件的anchor属性,因为这会影响控件在重新调整窗体大小时的反应。



希望这有帮助。
I have a program that uses an MS Access database. 64 bit OS doesn't have the jet engine needed to run it. So I compile my program with a Target CPU of a 32 bit machine. This lets the 64 bit OS know it has to use 32 bit stuff and the jet engine will work. As Richard MacCutchan commented, you can setup things like this with an installer so that a user won't have to jump through hoops to get it installed. Without knowing what third party things you use and need installed, it's impossible to tell you exactly what needs to be done. If you have more specifics, click the Improve Question link and add them to your question.

As for your display issues....You designed your controls to the "exact size of the screen." but what does that mean? If your program is run with a different resolution setting on the monitor it can skew everything. There are also display settings for people who need bigger font because of sight problems that can do this. When I create a windows form project I typically design it for an 800x600 screen. I do this because what I design can easily be enlarged for a larger resolution. If you design a form that is larger and it is displayed on a smaller resolution, there is no nice way for the OS to account for it, so things get messed up. Also, you may want to look into the anchor property of your controls, as that effects how the control is supposed to react when the form is re-sized.

Hope this helps.


这篇关于如何在没有任何DLL错误的64位操作系统上运行vb.net 32​​位项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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