Solved

Using Active X components in MFC application

Posted on 1998-11-09
4
197 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
[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
  • 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

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
java ^ examples 8 75
scoreUp challenge 14 74
Fibonacci challenge 11 141
changeXy challenge 13 98
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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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…

739 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