473,387 Members | 3,750 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.

adding a reference

I'm having a problem getting the ASPEmail library that my host uses loaded
into the references section of my local project.
I've downloaded the library and placed it on my work computer and my home
computer.
On my work computer, when i add it to the project as a reference, it coems
up with
(Name): ASPEMAILLib
Type: Assembly

but when i add it at home, it comes up as
(Name): Interop.ASPEMAILLib
Type: ActiveX

but i'm using the same dll! how can it be two different things?

Its called ASPEMAILLib on my host server, so that's what i need it to be.

Any suggestions?
Nov 18 '05 #1
2 1033
my problem was a stupid one. the aspemaillib.dll file found in the bin
directory is an activex control. the one found in the samples\bin directory
is an assembly.
i had chosen one in one project and the other in the second project.

why would this be the case, though?

"Tim Mulholland" <Ti***********@nospamaddress.com> wrote in message
news:ut**************@TK2MSFTNGP11.phx.gbl...
I'm having a problem getting the ASPEmail library that my host uses loaded
into the references section of my local project.
I've downloaded the library and placed it on my work computer and my home
computer.
On my work computer, when i add it to the project as a reference, it coems
up with
(Name): ASPEMAILLib
Type: Assembly

but when i add it at home, it comes up as
(Name): Interop.ASPEMAILLib
Type: ActiveX

but i'm using the same dll! how can it be two different things?

Its called ASPEMAILLib on my host server, so that's what i need it to be.

Any suggestions?

Nov 18 '05 #2
Tim Mulholland wrote:
my problem was a stupid one. the aspemaillib.dll file found in the bin
directory is an activex control. the one found in the samples\bin
directory is an assembly.
i had chosen one in one project and the other in the second project.

why would this be the case, though?


You can't directly access the ActiveX component from .Net.
When you add a reference to the ActiveX dll, VS.Net generates
a "runtime callable wrapper". That would be the "assembly" version.

Hans Kesting
Nov 18 '05 #3

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

Similar topics

2
by: John | last post by:
What si the difference between Adding a Reference and actually dragging and dropping an activeX control onto a form? Thanks John ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure...
2
by: laredotornado | last post by:
Hello, I am looking for a cross-browser way (Firefox 1+, IE 5.5+) to have my Javascript function execute from the BODY's "onload" method, but if there is already an onload method defined, I would...
0
by: Saumendra | last post by:
Hi guys, When I am adding a Web Reference in Visual Studio.net, I provide the url to the .vsdisco file, so that Visual Studio.net can dynamically discover all the available Web Services. Now when...
3
by: Jim Heavey | last post by:
Trying to figure out the technique which should be used to add rows to a datagrid. I am thinking that I would want an "Add" button on the footer, but I am not quite sure how to do that. Is that...
2
by: Chris Wertman | last post by:
I am rustier than I thought when it comes to Visual Studio and VB.NET for the last year I have been writing only ASP.NET pages in inline code and well I kinda forget how to add a reference , well...
3
by: MIGUEL | last post by:
Hi all, I'm quite lost with how adding web references to a project creates proxy classes. I've developed a web service with two classes inside and that contains three references to three...
1
by: rgarf | last post by:
I have a web service that is consumed by a C++ application. I added a C# dll reference to the web service, When the web service calls a method on the dll, it sends back an HRESULT of E_FAIL to my...
3
by: _DS | last post by:
The two obvious methods for ref'ing assemblies are: Add a reference and 'Browse' for the actual DLL OR Add existing project to the solution, then add a ref to 'Project'. 1: I'd like to...
5
by: Michael Russell | last post by:
Hi all, Using C#, I've created a simple wrapper class for using Excel. I have Office Pro 2003 installed on my devel machine. The wrapper class works great, reading and writing to/from Excel. ...
8
by: Jason | last post by:
Hello, I am trying to utilitze the AJAX Control toolkit in my asp.net project. I have added a reference to AjaxControlToolkit.dll, and in my page, added these lines of code: ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...
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.