473,396 Members | 1,724 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,396 software developers and data experts.

Problems With Assembly.Load

Ram
Hey,
I have a windows application that uses Assembly.Load to get information on
certain Assemblies.
But the problem is, that after the Load, even after I clean the object (set
it to null), I cant access (physically) the assembly I loaded - I keep
getting:
"The Process Cannot Access The File Because It Is Being Used By Another
Process".
And nothing I do realease the assembly, - the only thing that works is to
close the application lol...
Is there a way to release the loaded assembly?
Thanks ahead

--Ram
Nov 17 '05 #1
1 1155
I have answered in the visual basic group. Please use crossposting instead
of multiposting.
--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Ram" <ni***@bezeqint.net> escribió en el mensaje
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hey,
I have a windows application that uses Assembly.Load to get information on
certain Assemblies.
But the problem is, that after the Load, even after I clean the object
(set
it to null), I cant access (physically) the assembly I loaded - I keep
getting:
"The Process Cannot Access The File Because It Is Being Used By Another
Process".
And nothing I do realease the assembly, - the only thing that works is to
close the application lol...
Is there a way to release the loaded assembly?
Thanks ahead

--Ram

Nov 17 '05 #2

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

Similar topics

3
by: Peter Blum | last post by:
I have built an assembly (dll) from which I expect third parties to subclass. As a result, when my assembly has a version change, it will cause any third party assembly based on it to break unless...
4
by: David Elliott | last post by:
I am trying to load an assembly and execute a method from a class. I have listed 3 parts to the code. 1) The Driver to load and execute 2) The Interface 3) The assembly I have a valid referece...
2
by: Greg Merideth | last post by:
I have an XSL file that I am using to transform some XML data using this method below. The problem is that if I use an embedded .XSL file in the .NET assembly, I get an error indicating that the...
3
by: TT (Tom Tempelaere) | last post by:
Hi there I am making a service project in C#, and I'm in the process of writing the installer. I made an installer class by using the "Add Installer" menu-item in the design window of the service,...
0
by: Kumaran via .NET 247 | last post by:
I'm building a Shared Addin for Outlook using C#. I'm using latebinding to determine the version ofoutlook installed on a machine, and load the addin instance forthat particular version of...
4
by: Aashish Patil | last post by:
Hi, My code is trying to load an assembly using Assembly.Load(string assemblyName); Assume that the current executing assembly is called Test.dll The following code works fine
2
by: Razzie | last post by:
Hey all, I'm working on this project where I'm dynamically loading an assembly. Basically what I want is that I can just replace my old dll file with a new one without having to do anything...
2
by: Huw | last post by:
I have written a small procedure that opens a dialog that I pass it. Sub MyOpen(txtForm as string) Dim frm As Object Dim frmType As Type frmType = Type.GetType(txtForm) frm =...
2
by: George | last post by:
I have a .NET 1.1 C# app (lets call it MyApp.exe) which is designed to do some boring thing (not important now) but it can be extended with plug-ins. These plug-ins are subclasses of a type...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.