Solved

Using Active X components in MFC application

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

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 …
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…

705 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

14 Experts available now in Live!

Get 1:1 Help Now