473,320 Members | 1,865 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,320 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 16 '05 #1
2 1629
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 16 '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 16 '05 #3

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

Similar topics

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: _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...
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.