Solved

Installing a shared OCX

Posted on 2013-01-15
4
349 Views
Last Modified: 2013-01-16
My application consists of two executables. Both use the Flex Grid object. Therefore, MSFLXGRID.OCX needs to be contained in the installer.

The first exe generates files that are used by the second exe. For that reason, it is convenient to install both in the same folder.

Question: Is it necessary to install that ocx with both executables?

I would think that if the first installs it, the second doesn't have to. But I'm not sure about this.
0
Comment
Question by:NormaPosy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 9

Assisted Solution

by:shorvath
shorvath earned 166 total points
ID: 38782181
You should always install all ocx's, dll's and other dependency files when installing any VB application.  The installer will not overwrite the file if it already exists on the system, and will prompt the user if the file is newer than the current one on the system.
0
 
LVL 18

Accepted Solution

by:
vasto earned 168 total points
ID: 38782613
Why do you need 2 setups then. You can go with one. When an OCX is installed it will be registered and all programs will use the latest registered version no matter in which folder it is installed. So if you are sure that both EXEs will be installed you can install the OCX with the first one.
0
 
LVL 45

Assisted Solution

by:aikimark
aikimark earned 166 total points
ID: 38783242
* Once the OCXs are installed, you do not NEED to do a second install.  They CAN be shared.
* shorvath is correct to assert that installations should be considered stand-alone items and all necessary OCXs should be included.
* vasto is also correct to assert that you can include multiple executables within an install.
0
 

Author Closing Comment

by:NormaPosy
ID: 38783984
Thank you all very much.
Your help is really appreciated.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JSON Response and request in VB6 application 11 1,033
vbModal 12 73
Access2016 ignore hyphen in data entry or searches 5 69
Access 2003, find all instances of database ODBC 3 46
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question