Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to Unload a DLL from and Aplication in VB.NET

How to Unload a DLL from and Aplication in VB.NET

Scheduled Pinned Locked Moved Visual Basic
csharphelptutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    elRaptor
    wrote on last edited by
    #1

    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

    C 1 Reply Last reply
    0
    • E 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

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      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#

      E 1 Reply Last reply
      0
      • C Colin Angus Mackay

        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#

        E Offline
        E Offline
        elRaptor
        wrote on last edited by
        #3

        Thanks Colin: I am going to try this option, and I will let you know. Thanks again Javier Ayala

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups