473,387 Members | 1,578 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,387 software developers and data experts.

ActiveX Issue

Dan
Good Day,

I am having some issues in using a VB6 ActiveX control in a .NET project.
The ActiveX control is failing on the following line of code

If TypeOf UserControl.Extender.Parent Is IControlInterface

IControlInterface is defined in a VB6 ActiveX dll. It was imported into the
..NET project and the form hosting the control does implement it.

I can't seem to figure out how to solve this. I have been searchin the web
and trying everything I could think of with no luck. The only thing I have
stubled upon that may shed some light is a comment in a post that stated that
the "Extender" does not work for non VB containers. I assume that a VB.NET
container would still be a non VB container.

Any information anyone can share would be appreciated. Right now I am just
beating my head against my desk.

Thanks!

Dan
Nov 21 '05 #1
3 999
Dan wrote:
The ActiveX control is failing on the following line of code

If TypeOf UserControl.Extender.Parent Is IControlInterface


When you say it "is failing" , what do you mean? Is there an
exception? Is it locking up? What?

Nov 21 '05 #2
Dan
Chris,

Thanks for your response.

By failing I mean that the statement in question evaluates to false. In
other words, the ActiveX control can't see the fact that it's parent
Implements the IControlInterface.

Dan

"Chris Dunaway" wrote:
Dan wrote:
The ActiveX control is failing on the following line of code

If TypeOf UserControl.Extender.Parent Is IControlInterface


When you say it "is failing" , what do you mean? Is there an
exception? Is it locking up? What?

Nov 21 '05 #3
I'm also facing the same issue...any solutions for this???

From http://www.developmentnow.com/g/38_2...iveX-Issue.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
Feb 27 '07 #4

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

Similar topics

7
by: NewbieJon | last post by:
I am attempting to send the variable "sComputerName" from my ActiveX script to "GetInfo.asp" using javascript. (Having been advised this is the way to get my ActiveX variable into my ASP script) ...
1
by: Steve | last post by:
I am having an issue deploying an ActiveX control. This is a .NET project in C#. The ActiveX control is written in VB6. I use the PDW (Package and Deployment Wizard) to create a .CAB for the...
20
by: Cybertof | last post by:
Hello, Is there a good way to call a big time-consumming function from an ActiveX DLL (interoped) through a thread without blocking the main UI ? Here are the details : I have a class...
6
by: Steve Richter | last post by:
I am getting error in a vbscript: ActiveX component cant create object: Excel.Application. The vbscript code is: Dim objExcel Set objExcel = CreateObject("Excel.Application") I am pretty...
2
by: Ofer Lavi | last post by:
Hi, I am trying to build an activeX that, if missing, will be downloaded and setup automatically on the client's browser (internet explorer). Using VB6, it was easy, using the <Object> tag,...
5
by: mikez | last post by:
Hi, We recently built a very basic file management system for a client in Access 2003 (to use with incoming tif scans). In it we used Microsoft's Document Imaging activex viewer (from Office...
6
by: Budhi Saputra Prasetya | last post by:
Hi All, I'm trying to display .NET Custom Control (created using Inherited Control) on an ASPX page, but no luck. I already registered the Control to Global Assembly Cache through .NET Framework...
2
by: Khan | last post by:
Hi, I'm using acrobat reader contorl in my vb.net application to display pdf files. I'm using version 8.0 of acrobat, but if i run my application on other machine which has different version of...
7
by: Artie | last post by:
Hi, Our team have a web project which includes some C# ActiveX DLLs. On some developers' PCs, the code which calls methods in the ActiveX dll is succesful - no exceptions. On other PCs, the...
2
by: deccio | last post by:
I have create an activex Control with Visual studio 2005 and framework 2.0 in c# to add drag & drop functionality to upload multi file. When I use it in a windows form it work fine. Infact if I...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.