Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using Active X components in MFC application

Posted on 1998-11-09
4
Medium Priority
?
202 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 150 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

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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…

971 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