Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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?
Posted

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.
 
Share this answer
 
Comments
FahdSanaullah 25-Jun-12 11:47am    
Thanks a lot. But, how do I come to know that which files of Ms Office am I using?
SoMad 25-Jun-12 17:54pm    
I agree, +5.

Soren Madsen
Member 7793959 wrote:
Its an application which uses some OCXs and DLLs from Microsoft Office
So the app requires MS Office to be installed.

Member 7793959 wrote:
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?
 
Share this answer
 
Comments
FahdSanaullah 25-Jun-12 11:48am    
I mean, they simply run my setup and it installs THOSE files as well. Any way?
Richard MacCutchan 25-Jun-12 11:56am    
I don't think you can do that as it would breach your EULA with Microsoft.
Sergey Alexandrovich Kryukov 25-Jun-12 14:44pm    
Sure, a 5. This is a very typical bigger problem -- please see my answer.
--SA
SoMad 25-Jun-12 17:53pm    
I agree, +5.

Soren Madsen
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
 
Share this answer
 
Comments
Richard MacCutchan 25-Jun-12 14:55pm    
5 for good advice.
Sergey Alexandrovich Kryukov 25-Jun-12 15:31pm    
Thank you, Richard.
--SA
SoMad 25-Jun-12 17:53pm    
I agree, +5.

Soren Madsen
Sergey Alexandrovich Kryukov 25-Jun-12 18:30pm    
Thank you, Soren.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900