473,326 Members | 2,012 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.

Executing Assembly eg MyWebApp.dll

Hi,

I want to get the name of the web application dll from within several
library external assemblies deep. How do I do that? The assemblies runs
outside the web application too - so I can't use HttpContext.

Much like the old VB 6.0 App.ExeName.

- Thomas


Nov 18 '05 #1
1 993
you can try using Assembly.GetExecuteAssembly() to get the current Assembly
fullName

"Thomas" <th****@corpuslogic.com> дÈëÏûÏ¢
news:O4**************@tk2msftngp13.phx.gbl...
Hi,

I want to get the name of the web application dll from within several
library external assemblies deep. How do I do that? The assemblies runs
outside the web application too - so I can't use HttpContext.

Much like the old VB 6.0 App.ExeName.

- Thomas

Nov 18 '05 #2

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

Similar topics

6
by: Frank T. Clark | last post by:
I am having trouble trying to retrieve the version resources of the executing assembly at runtime. I want to retrieve AssemblyTitle, AssemblyDescription, AssemblyCompany, AssemblyProduct, and...
7
by: Randy Paez | last post by:
I installed a control that i got rid of. Now when i try and run another project i get an Access is Denied {to that control}. It highlites <add assembly="*"> from the machine.config file. How can i...
1
by: Thomas | last post by:
Hi, I want to get the name of the web application dll from within several library external assemblies deep. How do I do that? The assemblies runs outside the web application too - so I can't use...
0
by: Oenone | last post by:
I have created a number of "plug-in" DLLs for my ASP.NET application which are dynamically loaded at run-time. This is done by locating the DLL file on disk and loading it using the...
2
by: SLE | last post by:
Hi there, We have a class method which is invoked through Remoting/IIS. Within this class method, we need to get the physical path of the assembly (dll) in which the method is executing. we have...
1
by: tamarana | last post by:
Once I redirect an assembly to run on a different framework than that it was complied on, how do I get the version of the framework that the assembly is executing on. System.Environment.Version...
5
by: erman.olca | last post by:
Hi all, I have a question for you. I used a program two days ago. there was a lan and program was just on one computer. But other computers have its short cut icon on their desktop. And it...
1
by: Ryan.Mohammed | last post by:
I have a problem where the code that serializes and deserializes an object is actually not the start application but loaded by reflection and located in a subdirectory of the start application. ...
2
by: prefersgolfing | last post by:
Whats happens if I overlay mywebapp.dll in iis 6.0 with a newer 1.1 version without stopping the site. What happens to the users currently logged in? Thanks.
7
by: chage | last post by:
Hi, I have been searching around to try adding reference assembly to another assembly during runtime, programatically. Is this possible in .Net? The reason for this is because i am having...
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...
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: 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
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...
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.