Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ActiveX controls work on dev machine, crash IE on all others!

Posted on 2004-09-14
3
Medium Priority
?
165 Views
Last Modified: 2010-05-02
Hi,

I am trying to develop a webpage-based activeX control.
On my development machine (Windows XP Home SP1, VB 6 SP6), I can run the ActiveX control from the VB IDE, or from the web page through the web server installed on my development machine, and everything seems to work correctly.

When I access the page containing the ActiveX control from another machine (Windows 98 SE with IE6 and Windows 2000 Pro SP4 with IE 6), after having authorised the installation and execution of the ActiveX (security set to low, all ActiveX options set to allow), Internet Explorer crashes with a reference to MSVBVM60.DLL... but I have the same version of this file on my machine (6.0.96.90) and on at least one of my Win2K test machines, but it still crashes...

One control tested referenced Microsoft Internet Transfer controls, and another test does not reference anything apart from the default controls when you start a new ActiveX control project.

Any ideas?

Cheers,
Daniel
0
Comment
Question by:bpfh
[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
3 Comments
 

Author Comment

by:bpfh
ID: 12072087
Problem solved:

After creating the ActiveX control, I then had to create a cab file for internet distribution via the VB Packaging and Deployment wizard.

From there, when I accessed the page containing the reference to the ActiveX, and set the source to be not the ActiveX .OCX file but the .CAB file from the P&D wizard, Internet Explorer installs the project .OCX, and several other dependancies from either the .CAB file of Microsoft's web site.

From there, everything went as planned, without crashing!

Cheers,
Daniel
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 12073547
Please read entire thread.  Asker solved or content important.
Closed, 200 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Moderator
0
 

Expert Comment

by:dcomsys
ID: 13984807
I created an ActiveX Control with VB, and it loads fine with the run feature for debugging, but when I save the OCX file and package it, IE only recognizes its existance, but doesn't load it (it creates the image box with the picture of the document in the top-left corner, instead of creating it with the red X). It never goes any further then that.



When I package it I use the Internet Option, then I choose to include all files with this CAB, and the include the Page DLL.

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

688 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