473,503 Members | 1,649 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Interoperabolity for com compone,t

Hi all,

I have one COM dll which i want to use in .net application.

I don't know what security constraints are added to this dll.

But when i try to add reference of that dll into .net appliction i am
getting following error :-

A reference to test.dll'could not be added. This is not a valid
assembly or COM component. Only assemblies with extension 'dll' and
COM components can be referenced. Please make sure that the file is
accessible, and that it is a valid assembly or COM component.

Can anyone tell me why can't i add test.dll into .net application.

any help will be truely appreciated.

thanks in advance.

Feb 26 '07 #1
1 1219
"archana" <tr**************@yahoo.comwrote in message
news:11**********************@p10g2000cwp.googlegr oups.com...
Hi all,

I have one COM dll which i want to use in .net application.

I don't know what security constraints are added to this dll.

But when i try to add reference of that dll into .net appliction i am
getting following error :-

A reference to test.dll'could not be added. This is not a valid
assembly or COM component. Only assemblies with extension 'dll' and
COM components can be referenced. Please make sure that the file is
accessible, and that it is a valid assembly or COM component.

Can anyone tell me why can't i add test.dll into .net application.

any help will be truely appreciated.

thanks in advance.
Are you sure this DLL is a COM component? Did you register this component, using regsvr32
<yourdll>?

Willy.

Feb 26 '07 #2

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

Similar topics

18
9931
by: no | last post by:
Is there any way to disable the saved form information Mozilla Firefox and Internet Explorer presents in a list every time you type text in a form input, on a page you use every day? If so, what...
0
1378
by: frederik | last post by:
Hi Have someone already tested with the .Net Translator compone­­nt. I downloaded the component from www.dotnettranslator.com to test and it seems very easy to­ use. My problem was that...
5
1434
by: greg | last post by:
I'm sure this is easy - if someone could give me a push in the right direction I would apprieciate it! If you have multiple categories CatID - NAME - ParentID 1 root 0 2 ...
0
884
by: | last post by:
Hi, Does anyone know whether this bug related to AppDomainUnloaded exception and managed c++ has been fixed in VS.NET 2003 and framework 1.1? ...
0
1019
by: frederik | last post by:
Hi Have someone already tested with the .Net Translator compone­­nt. I downloaded the component from www.dotnettranslator.com to test and it seems very easy to­ use. My problem was that...
8
2129
by: Jerry LeVan | last post by:
I don't seem to be able to connect to gborg.postgresql.org this evening... Jerry ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the...
1
1059
by: jomu | last post by:
HI, I seek to find a tool or a means of knowing the frequency or the metric one of utilistaion of the components (Froms, Control, Object..) out of C # VS2003, Because I am spirit to make an...
32
2752
by: =?Utf-8?B?U2l2?= | last post by:
I have a form that I programmatically generate some check boxes and labels on. Later on when I want to draw the form with different data I want to clear the previously created items and then put...
0
7072
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...
1
6979
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
5570
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,...
1
4998
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...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1498
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 ...
1
730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
373
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.