Solved

Using Active X components in MFC application

Posted on 1998-11-09
4
195 Views
Last Modified: 2013-11-25
I have an apllication which uses Active X controls - MSFlexiGrid and MSChart to show data in tabular and graphical form. These two controls are embedded in a CDialog Class (A dialog Box), (N.B.: Sveral other controls such as text box and buttons are also put into the same dialog box). The application is built using VC++. When I run the application on the terminal where it was developed, the application works perfectly. However, after creating an installation program using Installsheild and installing it on a different terminal, the application fails to load the dialog box which contain these two ActiveX controls. Am I missing out something which I should include in the installation program (I have already included the two .OCX files associated with the two ActiveX control in the installation program)?
0
Comment
Question by:sm176811
  • 2
4 Comments
 
LVL 16

Expert Comment

by:heyhey_
ID: 1324388
1. have you registered these ActiveX controls on the client computer during the instalation ?
2. maybe these components need some additional files ??? check their documentation, how to distribute them
0
 

Accepted Solution

by:
umzilber earned 50 total points
ID: 1324389
Use Dependecy Walker in Visual Studio to find out which DLL are needed for example MSChart needs advapi32.dll, oleaut32.dll and gdi32.dll among the standard DLL's


MAx

0
 

Author Comment

by:sm176811
ID: 1324390
I ahve Visual C++ installed on my computer, however, it does not contain any 'dependency walker' software. Where do I get that from? Do I need to install the entire Visual Studio?
0
 

Expert Comment

by:umzilber
ID: 1324391
You can find it on Microsoft site and it is also included with Visual Studio 6.0 when you install Visual C++ 6.0 Enterprise
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

808 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