需要创建可以在任何系统上运行而无需安装的exe文件。 [英] Need to create exe file which can run on any system without installing.

查看:105
本文介绍了需要创建可以在任何系统上运行而无需安装的exe文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我开发了一个使用VB6作为前端而Ms-Access作为后端的应用程序。我通过File创建了exe文件 - >制作.exe选项。我给那个exe文件到我的用户。如果他们试图运行它,他们就会收到错误。如果我创建一个setup.exe并将其安装在他们的系统上,那么它工作正常。


有没有办法创建一个可以在任何系统上运行而无需通过setup.exe安装的EXE文件?


请帮我解决这个问题。在此先感谢。

解决方案

您好


您也可以运行该EXE文件(File> Make .exe)as只要你想运行程序的计算机有参考,但它也取决于你正在开发什么程序。


使用向导生成EXE文件,收集程序正常工作所需的所有引用。 :)


新年快乐!!!

Rey Sean


会发生什么链接到数据库有一定的路径,当你切换pc这个路径reamins相同,但datbase文件实际上是其他地方。

如果他们的计算机上有vb打开文件并更正路径数据控制。

丹尼尔(~~~)新年快乐


嗨丹尼尔,


谢谢非常感谢您的回复。但问题是,任何数据库路径都没有问题。我正在登录屏幕。当我输入用户名和密码时,它给出的错误是Componet,mscomct2.ocx或其中一个依赖项未正确注册:文件丢失或无效。


我已经以USER身份登录系统。我没有系统的本地管理员权限。你能尽快帮我解决吗?


提前致谢。新年快乐


会发生什么事情是指向数据库的链接有一定的路径,当你切换pc这个路径时,这个路径是相同的但是数据库文件实际上是其他的哪里。

如果他们的计算机上有vb,请打开文件并更正数据控件的路径。

Daniel(~_~)新年快乐

Hi,

I have developed an application using VB6 as frontend and Ms-Access as backend. I have created exe file through File -> Make .exe option. I have given that exe file to my users. If they try to run that, they are getting error. If I create a setup.exe and install it on their system, then it is working fine.


Is there any way to create an EXE file which can run on any system without installing it through setup.exe ?

Please help me out on this. Thanks in advance.

解决方案

Hi

You can also run that EXE file (File > Make .exe) as long as you the computer that you wanted to run the program has the references but also it depends upon what program are you developing.

Making an EXE file using the wizard, collects all the references that are needed for the program to work fine. :)

Happy New Year!!!

Rey Sean


What happens is that the Link to the database has a certain path,When you switch pc this path reamins the same but the datbase file is actually loacted else where.
If they have vb on their computer open the file and correct the path of the data control.
Daniel (~_~) Happy new Year


Hi daniel,

Thank you very much for your reply. But the thing is, There is no problem with any database path. I am getting the login screen. When i enter the username and password, it is giving the error saying "Componet ''mscomct2.ocx'' or one of its dependencies not correctly registered: a file is missing or invalid."

I have logged into the system as "USER". I dont have local admin rights on the system. Could you help me out on this as soon as possible.


Thanks in advance. Happy New Year

What happens is that the Link to the database has a certain path,When you switch pc this path reamins the same but the datbase file is actually loacted else where.
If they have vb on their computer open the file and correct the path of the data control.
Daniel (~_~) Happy new Year


这篇关于需要创建可以在任何系统上运行而无需安装的exe文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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