Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 2nd, 2003, 04:32 PM
Registered User
 
Join Date: Jul 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default can i unload assembly ?

so i could compile it again, while other apps r still running .
 
Old July 6th, 2003, 03:49 PM
Authorized User
 
Join Date: Jun 2003
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I dont think so (or see why you would want to)

If other apps are using the assembly then stopping it could only make the apps crash.

Why do you want to unload the assembly?
 
Old July 7th, 2003, 12:12 AM
Authorized User
 
Join Date: Jun 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes you can unload assembly.
The good sample is http://msdn.microsoft.com/library/de...ml/updater.asp
where is SelfUpdatingDemo. This demo contains code which unload running application(assemblly) and run new wersion of application.
 
Old July 8th, 2003, 10:29 AM
Registered User
 
Join Date: Jul 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i think this sample is good to unload AppDomain.

im talking about this case :
i have winapp that use dll (assembly)
im createing in runtime object from the assembly.
the destroy this object.

THEN , while the winapp is STILL RUNNING , i want to Recompile the dll (assembly) , and to use the winapp AGAIN to create object from that assembly .(this way i could ,change the code of the object ,if i found bug, and use it again).

 
Old March 25th, 2006, 07:35 AM
Registered User
 
Join Date: Mar 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

amirxy:
I have encounted the same problem,
Have you resolved it with the "sample"?
Appreciate for your reply.






Similar Threads
Thread Thread Starter Forum Replies Last Post
unload crystalActivexreportviewer sen22 VB Components 0 April 27th, 2007 02:01 AM
Unload the Form dpkbahuguna Beginning VB 6 4 March 21st, 2006 06:50 AM
Delay form unload coolcatjk Pro VB.NET 2002/2003 1 December 15th, 2005 09:58 AM
how to unload the values from sql where sriraj VBScript 1 August 9th, 2004 03:45 AM
Excel Unload m_soeb General .NET 1 June 4th, 2004 04:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.