VB6部署问题. [英] VB6 deployment issue.

查看:98
本文介绍了VB6部署问题.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我在部署VB6销售点应用程序时遇到问题.它是一个使用Microsoft Office的OCX和DLL(即在安装MS Office时安装到计算机上)的DLL应用程序.问题出在这里:我的软件使用MS SQL SERVER EXPRESS 2008作为DBMS.并且没有直接包含Access或MS Office.但是,有些数据控件(如我前面提到的)已通过MS Office安装到计算机上.现在,当我使用打包和部署向导为我的应用程序创建安装程序包时,它会创建一个安装程序.安装程序可以很好地安装应用程序,但是当应用程序运行时,某些窗体无法运行,出现此错误:"Out of Memory.Error 7".我认为在计算机上安装Office女士可以解决此错误.我不能要求每个客户都安装Office Ms和我的软件.

Hello everyone!

I''ve a problem with deploying my VB6 Point of Sale application. Its an application which uses some OCXs and DLLs from Microsoft Office (i.e that are installed to a computer when MS Office is installed). Here''s the problem : my software has MS SQL SERVER EXPRESS 2008 as DBMS. And no Access or MS Office included directly. However, there are some data controls (as I mentioned earlier) which are installed to the computer with MS Office. Now, when I use the package and deployment wizard to create a setup package for my app, it creates a setup. The setup installs the application fine, but when the application runs, some of the forms do not run, give this error : "Out of Memory. Error 7". I think installing Ms Office on the machine fixes this error. I can''t afford to ask each of my clients to install Ms Office along with my software.

Brains, what to do?

推荐答案

您没有指定要使用的DLL/OCX文件,但基本答案是不,您不能部署这些文件没有办公室.即使有可能(例如,将文件添加到安装应用程序中),也很可能违反了Microsoft的许可协议.在几乎所有情况下,您都无法部分拿走他们的文件并免费分发.

我的建议是删除对Microsoft Office的依赖(首选),或者查看Office的试用版是否可以添加所需的文件(尽管您需要测试试用期结束时会发生什么情况).在第二个选项中,您还需要阅读许可协议以确保它被允许.
You aren''t specifying which DLL/OCX files you are using, but the basic answer is no, you cannot deploy these files without Office. Even if it were possible (adding the files to your setup application, for instance), it would most likely be in violation of the license agreement from Microsoft. In almost all cases, you cannot take part of their files and distribute them for free.

My suggestion would be to either remove the dependancy on Microsoft Office (preferred) or see if a trial version of Office might add the files you need (although you will need to test what happens when the trial runs out). In this second option, you will also need to read the license agreements to be sure it is allowed.


成员7793959写道:
Member 7793959 wrote:

它是一个使用Microsoft Office中的OCX和DLL的应用程序

Its an application which uses some OCXs and DLLs from Microsoft Office

因此该应用程序需要安装MS Office.

So the app requires MS Office to be installed.

成员7793959写道:
Member 7793959 wrote:

我无力请每个客户与我的软件一起安装Office女士.

I can''t afford to ask each of my clients to install Ms Office along with my software.

如何否则他们会获得先决条件吗?

How else are they going to get the prerequisites?


您的问题是使用专有软件的根本错误方法.您对MS Office产生了严重的依赖性,这几乎不是绝对必要的.您还应该了解Office文件格式是专有的,不是通用的或标准化的(通过引入Office Open XML, http,这种情况正在得到改善. ://en.wikipedia.org/wiki/Office_Open_XML [^ ]).真正专业的软件永远不会依赖MS Office.首先,您应该考虑摆脱这一死胡同.

—SA
You problem is the fundamentally wrong approach to use of proprietary software. You created a heavy dependency on MS Office, which is hardly absolutely necessary. You should also understand that Office file formats are proprietary, not universal or standardized (the situation is being improved though with introduction of Office Open XML, http://en.wikipedia.org/wiki/Office_Open_XML[^]). Really professional software never depends on MS Office. First of all, you should think about getting out of this dead end.

—SA


这篇关于VB6部署问题.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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