?
Solved

Debugging an activex CAB

Posted on 2003-02-24
6
Medium Priority
?
951 Views
Last Modified: 2008-02-20
I have a problematic ActiveX cab on my hands. The activex works and tests correctly when used in a VB application. However when using the object tag, pointing at a CAB file created with the packaging and deployment wizard, the activex will not initialize.

I'm pretty sure it has something a component not downloading and installing via IE. What lead s me to this conclusion is the following:

1) If I use an MSI created with Visual Studio Installer, and install the activex onto a computer and then access the same web page (cab), the borwser shows the correct components and the app works perfectly.

2) The OCX contains 5 controls, which are then aggreegated into another control, which is the control I cannot initialize. As a test, I took the htm file generated by the packaging and deployment wizard, which contains an object tag and clsid for all custom controls and classes in the ocx and viewed each object seperately. 4 of the 5 controls are visible in IE using the cab file on fresh (no msi) machine. This leads me to belive the the "final" control is not visible because of the problematic 5th control.

I'm not neccessarily looking for a solution to the problem. The info I seek is how do I go about debugging this situation? How can I tell what components are failing to Down load and install in this 5th control when run in IE. And possibly, why?

Thanks for your help guys.
0
Comment
Question by:FatJoey
[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
6 Comments
 
LVL 1

Expert Comment

by:NicolNghia
ID: 8013388
Hi FatJoey,

I have a small idea and hope that will help you:
As you know, when IE download the components, it will install these components into the Windows\System folder (Windows\System32 folder on Windows NT). And your ActiveX work OK if all of that are downloaded successfully.
To check that:
1. Use the tool 'Depends' (in Visual Studio Tools) to list all components used by your ActiveX.
2. Check if these components are available in the 'Windows\System' folder.

And you will find if any miss component.

Good luck,
0
 

Author Comment

by:FatJoey
ID: 8017744
NicolNGhia,

I took a look at his and I noticed everything listed in depends was present in system32. Also, I noticed that depends does not show VB references only system dll for API calls. For example I have reference to msxml3.dll in my project and this is required to run. Depends does not show this or any other reference. Still looking...

Joe

0
 

Author Comment

by:FatJoey
ID: 8028105
I figured it out. I put a logging statement in every method of the entire ocx that was dieing. Turns out, that there was some conflicting ocx on the boxes I tried to view it on. Thanks though guys
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 9350238
This question has been classified abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.

<note>
Unless it is clear to me that the question has been answered I will recommend delete.  It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.
</note>

If the user does not know how to close the question, the options are here:
http://www.experts-exchange.com/help/closing.jsp


Cd&

0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 10457073
PAQed, with points refunded (500)

Computer101
E-E Admin
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

771 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