Hi,
I've created a C# custom control that references some ActiveX controls.
I need to host this control on a form that also hosts the same ActiveX
controls.
So I add the custom control and the individual ActiveX's to the toolbox
& when I try to host the user control on the form using the toolbox,
the VS.NET interop kicks in generates Ax*** wrappers for these.
On compiling the app, I get CS1595 warnings:
"'AxImageLib.Ax ImageCtrl' is defined in multiple places, using
definition from C:\Work\ImageCt rl\ImgCtrl.dll"
How serious are these warnings & is there anyway to eliminate them?
Thanks,
Lionel 2 3426
As long as they are all referencing the same activex dll version then it
should all work fine. Its just a feature of how VS makes sure you have all
the references in the build.
Ciaran O'Donnell
"Lionel" wrote:
Hi,
I've created a C# custom control that references some ActiveX controls.
I need to host this control on a form that also hosts the same ActiveX
controls.
So I add the custom control and the individual ActiveX's to the toolbox
& when I try to host the user control on the form using the toolbox,
the VS.NET interop kicks in generates Ax*** wrappers for these.
On compiling the app, I get CS1595 warnings:
"'AxImageLib.Ax ImageCtrl' is defined in multiple places, using
definition from C:\Work\ImageCt rl\ImgCtrl.dll"
How serious are these warnings & is there anyway to eliminate them?
Thanks,
Lionel
Thanks for your reply.
If I manually add a reference to the user control from the solution
tab, VS.NET doesn't generate the interop files & only adds the user
control. Which is what I'd like to have when adding the user control
via the toolbox. So its something that the toolbox does.
Would be nice to have a way to disable this feature while adding
controls.
Cheers,
Lionel
Ciaran O''Donnell wrote:
As long as they are all referencing the same activex dll version then it
should all work fine. Its just a feature of how VS makes sure you have all
the references in the build.
Ciaran O'Donnell
"Lionel" wrote:
Hi,
I've created a C# custom control that references some ActiveX controls.
I need to host this control on a form that also hosts the same ActiveX
controls.
So I add the custom control and the individual ActiveX's to the toolbox
& when I try to host the user control on the form using the toolbox,
the VS.NET interop kicks in generates Ax*** wrappers for these.
On compiling the app, I get CS1595 warnings:
"'AxImageLib.Ax ImageCtrl' is defined in multiple places, using
definition from C:\Work\ImageCt rl\ImgCtrl.dll"
How serious are these warnings & is there anyway to eliminate them?
Thanks,
Lionel This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dales |
last post by:
I have a custom control that builds what we refer to as "Formlets"
around some content in a page. These are basically content "wrapper"
sections that are tables that have a colored header and provide an
open TD with a DIV in it for the content of this formlet. (The DIV is
for DHTML to hide and show the content)
I've created a web page showing step by step the two problems I'm
encountering. This problem is much easier to see than it...
|
by: Shimon Sim |
last post by:
I have a custom composite control
I have following property
|
by: |
last post by:
Hi all,
Has anyone been able to write some custom javascript on the onclick event of
submit button to do certain things like disable submit button, only submit
form once etc. This was a breeze in 1.1 since I could edit the .js file. Now
in 2.0 I can no longer do this. Also, my code would have to be called after
all client-side validation was done and was successful. Any ideas?
TIA!
|
by: Eachus |
last post by:
Hello,
I’m trying to create a web custom control. I’ve worked in asp.net
extensively, but this is the first time I’ve attempted a web custom control.
As a test, I created a control exactly as described in one of the
walkthroughs (except for a couple of grammatical changes that the vs.net IDE
insisted on). The one thing I did different was to compile it via the IDE
rather than the command line. But it doesn’t work.
In design...
|
by: Suzanne |
last post by:
Hi all,
I really hope someone out there can help me as I've been tearing my
hair out on this one for a good while and I'm getting really
frustrated now!
My problem is this - my custom controls periodically disappear from my
project when I build it. First of I get the message about a missing
dependency, then if I rebuild after that - the control just physically
disappears from the form, and I get an object not found error when I
| |
by: Suzanne |
last post by:
Hi all,
I'm reposting this message as I'm experiencing this problem more and
more frequently :
I really hope someone out there can help me as I've been tearing my
hair out on this one for a good while and I'm getting really
frustrated now!
My problem is this - my custom controls periodically disappear from my
|
by: Jamey Shuemaker |
last post by:
I'm in the process of expanding my knowledge and use of Class Modules.
I've perused MSDN and this and other sites, and I'm pretty comfortable
with my understanding of Class Modules with the exception of custom
Collection Classes.
Background: I'm developing an A2K .mdb to be deployed as an .mde at my
current job-site. It has several custom controls which utilize custom
classes to wrap built-in controls, and add additional functionality....
|
by: Tomasz J |
last post by:
Hello Developers,
I have a control derived from System.Web.UI.WebControls.WebControl. Control
has this property:
public string Value
{
set { _value = value; }
get { return _value; }
|
by: =?Utf-8?B?UmljaEI=?= |
last post by:
I am trying to create a project using the ASP.NET AJAX accordion control. I
would like to dynamically add panes to the control with a form template added
when the pane is added. I have tried unsuccessfully in creating the whole
pane as a user control and have succeeded in adding the pane and then
dynamically adding the content which is a user control to the pane,
dynamically within the page.
However I would like to have a single pane...
|
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...
|
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,...
| |
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...
|
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,...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |