473,326 Members | 2,133 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,326 software developers and data experts.

registering .dll and using it in other web pages

hi,
I have compiled a .dll.
steps followed is try to upload the dll to global assembly
method 1: al /i:temp.dll
but this gives an error
method 2: gacutil /i temp.dll - this uploads dll to global assembly.

Next how can i use it.
if i type imports temp it gives error
its not shown in the references list also.

How shall i go about it.

Thanks
Arvind.
Nov 18 '05 #1
6 2201
Have you added it as a reference to the project in which you are trying to do the "Imports Type" in? Even though it's in the GAC, you still need to reference GAC items in your project. You just won't copy them locally to the application's bin directory

-Rick
Nov 18 '05 #2
Have you added it as a reference to the project in which you are trying to do the "Imports Type" in? Even though it's in the GAC, you still need to reference GAC items in your project. You just won't copy them locally to the application's bin directory

-Rick
Nov 18 '05 #3

I am trying to reference it but its not getting displayed in the list.

Even if its added to GAC how to get the .dll displayed in the reference
list.

Can anyone tell me about the procedures.

Thanks
Arvind.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #4

I am trying to reference it but its not getting displayed in the list.

Even if its added to GAC how to get the .dll displayed in the reference
list.

Can anyone tell me about the procedures.

Thanks
Arvind.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #5
In article <#Z**************@TK2MSFTNGP12.phx.gbl>, ar******@hotmail.com
says...
hi,
I have compiled a .dll.
steps followed is try to upload the dll to global assembly
method 1: al /i:temp.dll
but this gives an error
"al" is the Assembly Linker. You don't need that for this.
method 2: gacutil /i temp.dll - this uploads dll to global assembly.

Next how can i use it.
if i type imports temp it gives error
its not shown in the references list also.


The list of assemblies displayed by VS.NET is not dynamically generated,
but maintained in a list somewhere (there's a KB article about getting
your assembly listed in GAC).

However, just add a reference to a local copy of "temp.dll". Even
though you're referencing a local copy, .NET will use the copy from the
GAC when running.

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Nov 18 '05 #6
In article <#Z**************@TK2MSFTNGP12.phx.gbl>, ar******@hotmail.com
says...
hi,
I have compiled a .dll.
steps followed is try to upload the dll to global assembly
method 1: al /i:temp.dll
but this gives an error
"al" is the Assembly Linker. You don't need that for this.
method 2: gacutil /i temp.dll - this uploads dll to global assembly.

Next how can i use it.
if i type imports temp it gives error
its not shown in the references list also.


The list of assemblies displayed by VS.NET is not dynamically generated,
but maintained in a list somewhere (there's a KB article about getting
your assembly listed in GAC).

However, just add a reference to a local copy of "temp.dll". Even
though you're referencing a local copy, .NET will use the copy from the
GAC when running.

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Nov 18 '05 #7

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

Similar topics

1
by: Kelly G. | last post by:
I need to register a Vb DLL under restricted acess privilages please provide me a solution. Here is the complete issue: I building a MSI using Vs.net ,One of the Dll's is Vb Component ( A shim...
6
by: Daniel Bass | last post by:
The scenario: ------------- I've created a simple COM object according to a tutorial I found: http://www.csharphelp.com/archives/archive281.html It automatically creates a Type Library...
6
by: ian | last post by:
Hi All I have a DLL (nahd.dll) that has been supplied to me will a PBX phone system. According to the documentation it is to allow developers to write there own applications to monitor the...
1
by: Dave Moore | last post by:
Hi all - I have a problem I've been trying to solve for several days. I'm trying to get the 'hands free' deployment working on a .NET web project that involves both a front end web site (with web...
2
by: Helen | last post by:
I've got some clientside script that runs when the selected index of a select box changes. Now I need to swap my selectbox with an ASP.NET radiobuttonlist (to solve some layout issues). I still...
7
by: Chris Jewell | last post by:
Hi, I'm wondering what the best way of registering a data storage class with a data handler class is. At the moment I have two classes: class EpiCovars // Storage class { ....
1
by: pRony | last post by:
A warm welcome from me to everyone i am facing problems for registering python for using iis i tried out by running pyscript.py but was of no use an error is returned in the web page http/500...
2
by: Marty | last post by:
I have created a web site and defined 3 rolls: Admin, Manager, Employee I would like to add all users to the Employee roll automatically when they register. Anybody have a suggestion or material...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
I use "Click Once" Deployment from VS2005. Works like a charm. I have to deploy a console app and an MS Access ADP. The console app invokes the ADP. I copy the ADP to the application files to be...
2
by: souporpower | last post by:
Hi All I am trying to print some HTML using JQUERY. I am posting the code. I don't see the alert. It seems as though the function is not registered when the document is loaded. Can someone...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.