How to Unload a DLL from and Aplication in VB.NET
-
Hello All: I hope you can helpme whit this, I am not sure if it can be done, but someone knows how to unload a DLL from an aplication in VB.NET, this because I need to update the file or deleted, but when I try to delete the file I get and error, this is because the file is been use by the aplication so I need to remove the reference in runtime, any ideas?. ElRaptor
-
Hello All: I hope you can helpme whit this, I am not sure if it can be done, but someone knows how to unload a DLL from an aplication in VB.NET, this because I need to update the file or deleted, but when I try to delete the file I get and error, this is because the file is been use by the aplication so I need to remove the reference in runtime, any ideas?. ElRaptor
There is a nice article on MSDN that might help. It's at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp03122002.asp[^] The examples on the page are written in C#, but that's okay because it's all .NET :-D so will work also in VB.NET. I hope this helps...:) --Colin Mackay--
"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown) Enumerators in .NET: See how to customise foreach loops with C#
-
There is a nice article on MSDN that might help. It's at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp03122002.asp[^] The examples on the page are written in C#, but that's okay because it's all .NET :-D so will work also in VB.NET. I hope this helps...:) --Colin Mackay--
"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown) Enumerators in .NET: See how to customise foreach loops with C#