473,658 Members | 2,623 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

AxInterop and Interop

When I use a COM control (via add reference) it generates interop
when the com is dragged into a form it creates axinterop.

what is more interesting is the axinterop works fine, the interop
causes com exception error.

i know these inherit from different base classes, but why the problem.

thanks
Nov 16 '05 #1
1 11631
On 14 Apr 2004 09:51:43 -0700, sk*******@snet. net (Krish) wrote:
When I use a COM control (via add reference) it generates interop
when the com is dragged into a form it creates axinterop.

what is more interesting is the axinterop works fine, the interop
causes com exception error.

i know these inherit from different base classes, but why the problem.

thanks


I have found that using some active x controls as an interop (ie, in a
library class) that they will not work. The reasoning for this seems
to be that certain licence information required for the active x
controls is actually stored in the resx file which is generated when
you create a form.

To be honest, i have found that it is actually easier to try and avoid
using ax controls.
Nov 16 '05 #2

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

Similar topics

0
1071
by: Sameer | last post by:
I decided to strong name the axhost generated when I inserted the an activex control in my windows form. To this end... 1. Created Interop Interop.MyAnalogLibrary.dll tlbimp \winnt\system32\MyAnalogLibrary.ocx /out:Interop.MyAnalogLibrary.dll /keyfile:..\..\1.snk 2. Created AxInterop AxInterop.MyAnalogLibrary.dll aximp \winnt\system32\MyAnalogLibrary.ocx /out:AxInterop.MyAnalogLibrary.dll /rcw:Interop.MyAnalogLibrary.dll
0
446
by: Krish | last post by:
When I use a COM control (via add reference) it generates interop when the com is dragged into a form it creates axinterop. what is more interesting is the axinterop works fine, the interop causes com exception error. i know these inherit from different base classes, but why the problem. thanks
5
7280
by: Jurate | last post by:
I created a class library that has Microsoft Web browser ActiveX component. I am using this class library from a COM client -javascript command var mycomponent = new ActiveXObject("ShowTrans.ShowTrans"); .... mycomponent.ShowText(tex); I am getting this error message: File or assembly name AxInterop.SHDocVw, or one of its dependencies, was not found.
0
2425
by: vbcrazy | last post by:
Hello, I have included the wmp v9 in my vb.net project. Everytime I display the designer it writes a command to enable the wmp in the System.Diagnostics.DebuggerStepThrough space. Then when I run the app I get a "An unhandled exception of type 'InvalidActiveXStateException' occurred in axinterop.wmplib.dll". If I comment out the wmp enabled line it the app runs fine. How do i stop this error and why is it occuring
2
7521
by: Chris Dunaway | last post by:
I recently referenced a COM (ActiveX?) dll in my project. .Net seemed to create two wrappers for it: Interop.xxx.dll and AxInterop.xxx.dll. Why did it create two and what is the difference between them? Do I need both of them? Thanks, -- Chris
0
1260
by: Chavez | last post by:
Hi, I was building a deployment project and included the manifest file directly in the application folder (perhaps not wise) so that the exe would display in XP style. When I built the deployment project lots of the references in my main project (the thing the deployment project would install) become broken. The path info had disappeared. On trying to re-Add many of these references I note that there are Interop.SomeName.dll and
0
4221
by: Fab | last post by:
Hi, In a VS 2003 project, i use the Microsoft Web Browser (shdocvw32.dll). So in the References tab of the Solution Explorer i have : AxSHDocVw SHDocVw Microsoft.mshtml When i copy the release directory on another computer, the web browser
0
1474
by: madushan | last post by:
hi all , I try to generate .cs file from AxInterop.SHDocVw.dll by using the bellow command C:\Documents and Settings\malik\Desktop\Debug>aximp out:AxInterop.SHDocVw.dll /source I am new to this if I have done any mistake point me that out. or
4
4117
by: Just_a_fan | last post by:
I have Googled and done a search in the VB induced help. No answer is apparent. What is the difference of dlls prefixed with Ax and those without? Best I can see, Ax stands for the older "ActiveX". I have an application which seems to want both versions. They are both listed in the References page top pane along with some System and Drawing dlls.
0
8427
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8330
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8746
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8523
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8626
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6178
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4334
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2749
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.