473,409 Members | 2,006 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

ActiveX Document Question

I have two machines configured exactly the same. I am using a VB Script to invoke a Visual Basic document which in turn calls an ActiveX Control (written in VC++) to bring up an ActiveX document. The document is displayed successfully on one machine, and fails to get displayed on the other. The error displayed is:
Run time error '-2147417848 (80010108)': Automation error The object invoked has disconnected from its clients

Debugging the code shows that it fails on the following line of code in the Visual Basic program:
Set activeXCtrl = UserDocument.Controls.Add(strControlClass, "activeXCtrl")

I tried to add strControlClass to the Licenses collection, but I got an error saying that this was not required. I have unregistered, and re-registered the ActiveX control, and the Visual Basic document.

Has anyone seen this problem described? Does anyone have a solution to fix this? It baffles me that it works on one machine, and doesn't work on the second machine, and they have exactly the same configuration. Could you please let me know what are the Microsoft Visual Basic DLLs involved in this scenario?

Thanks, Ipsita.
Nov 20 '05 #1
0 960

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Filip Wtterwulghe | last post by:
Hello, We have a number of VB6 ActiveX applicationmodule(s) that are loaded into a IE6 WebBrowserControl . This WebControl is imbededded into Application X . Now We want to send a message from...
4
by: angel | last post by:
Hi I want to write an ActiveX by using python. And I know how do, but I don't know how python to access DHTML Document.If using cpp, it can be done by following source. /****/...
2
by: Grant H. | last post by:
hi all, i have a strange problem here & i'm not sure how to go about fixing it. Basically, I have a page with an activex control that gets launch with JS when a user clicks a "connect" button....
2
by: S.Kartikeyan | last post by:
Hello group, I have the follwing problem with microsoft web browser activex control. I have a fileopendialog control. I open different files in the IEActivex control based on the filename in the...
0
by: Frank | last post by:
Any suggestions on how I should handle this? I was asked to convert a small web application that was written in classic ASP into ASP.NET. The original site uses some VBScript to interface with...
4
by: marcosnogood | last post by:
Hello, I need to dynamically load an activex object because what object to load is based on certain conditions. Also I need to wait for the object to have initialized before moving on. What I...
6
by: libsfan01 | last post by:
Hi all Im trying to use prototype for an xmlhttprequest, but it doesn't seem to be working cross-browser. Is there someway of getting it to be IE6 compatible (active x)? here's my code so...
0
chandru8
by: chandru8 | last post by:
hi to all iam using vb6.0 i tried to add ActiveX Control Interface Wizard in add-in manager but there is no ActiveX Control Interface Wizard in the add-in manager how to include ActiveX Control...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.