Solved

Using Active X components in MFC application

Posted on 1998-11-09
4
192 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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…
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…

929 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now