Unload event not firing Programming Software Development by Tekito … events as well. From my reading I think the Unload event is supposed to fire when you close a form… with the close button or with the unload command. So far neither has happened. With the statement: [… one that fires! I am testing this by creating the Unload, QueryUnload, Deactivate, Terminate, etc, events in my code and … Unload Event Programming Web Development by Potato.Head Do I have a way (when I get the “unload”) to distinguish between “X” button and another cases(for example when moving writing another URL address)? I want to decide what message to display to the user when I get to the unload event, if this possible to do? Re: Unload Event Programming Web Development by JugglerDrummer the unload is usually used to only perform code cleanup, like freeing allocated memory, that needs to be done for the code earlier on the page. unload child form in mdi form Programming Software Development by Learner010 … want when i want to open the form it should unload the current child form and then it should load the… Re: unload child form in mdi form Programming Software Development by Learner010 …` then it means there exist child form and therfore i unload it before loading new form. here is the code: Dim… Re: unload forms Programming Software Development by plusplus I've put it in all the other forms unload event. Thanks for your help Re: unload forms Programming Software Development by jireh … open a MdiChild form so that i dont need to unload the forms that are already opened. [code] Private Sub SectionCmd_Click… Opera Doesn't Fired Unload Events Programming Web Development by Potato.Head …load event handler called."); } function pageUnloaded() { alert("unload event handler called."); } window.addEventListener("load", …pageLoaded, false); window.addEventListener("unload", pageUnloaded, false); </script> <body>… Re: Always unload dll files to save memory Hardware and Software Microsoft Windows by Joan how to unload dll: I use warecase XTM. Very efficient tool to unload dll and to control other internal processes. Always unload dll files to save memory Hardware and Software Microsoft Windows by nanosani Windows does not unload dll files a program has used after it has been closed, to speed up a possible restart of the program. Use Regedit to edit: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer Add the DWORD value named: AlwaysUnloadDLL and set it to 1 How to unload all open forms Programming Software Development by hari12341 Hi All, I need some guidance here...How does one close or unload all open forms in VB.Net. Can someone please help me out in this regard? Thanks very much. Re: How to unload all open forms Programming Software Development by Comatose hmn: [CODE]for each XFrm in forms unload XFrm next XFrm[/CODE]? Can I set The Cookie On Page UNload ? Programming Web Development by kishor_agrawal I trying [icode]Window.unload=setcookie(username,'xyz',365);[/icode] where [code=JavaScript]function setCookie(… Re: Can I set The Cookie On Page UNload ? Programming Web Development by ~s.o.s~ AFAIK, there is no reliable way of capturing the page unload event hence not possible. The maximum you can do is … Safe Dynamic Library Execution and unload Programming Software Development by gianks … i prevent memory leaks caused by the libraries after their unload? I hope I explained well my need. Thanks for the… Buttons on MDIParent form stop working once I unload child form in VB.NET Programming Software Development by Christian_18 … true) which work very well but once I load and unload a child form (from ToolsstripMenuItem), the buttons do NOT work… Re: Buttons on MDIParent form stop working once I unload child form in VB.NET Programming Software Development by Christian_18 … deactivating controls on the MDI parent once I load and unload a child form. Re: Unload event not firing Programming Software Development by Tekito Anybody?? Re: Unload Event Programming Web Development by almostbob A site that does [I]anything[/I] other than close when I click close, will never get another visit. That is a typical ploy of mal-sites I do not want you to prevent me from navigating my browser. Re: Unload Event Programming Web Development by itsjareds [QUOTE=almostbob;879254]A site that does [I]anything[/I] other than close when I click close, will never get another visit.[/QUOTE] +1 You can always provide an easy-to-use navigation menu if you need your users to be able to get around easily. Re: unload child form in mdi form Programming Software Development by Minimalist You can close a child form by using: Me.ActiveMdiChild().Close() Re: unload child form in mdi form Programming Software Development by Learner010 > Me.ActiveMdiChild().Close() okay it should work. But what i need is something different i want that first it should check if mdicontainer contains mdichild or not. if it contains then it should close the current child and then load the new child form. now , with the code you provide , i got how to close the current child form but how can… Re: unload child form in mdi form Programming Software Development by Minimalist O.K. this is the code to check for open child forms and to do something when there are open forms Dim F As Form For Each F In Forms If F.MDIChild Then ' It's a loaded MDIChild form End If Next F Re: unload child form in mdi form Programming Software Development by Minimalist Sorry, my first reply was more for vb6. Thsi should work in vb.net For Each frm As Form in Me.MdiChildren MessageBox.Show(frm.Name) Next unload forms Programming Software Development by plusplus I want a certain form to be unloaded only when there is no other form loaded, how do I check if any of the other forms are still loaded Re: unload forms Programming Software Development by jireh I don't know if this is right but just try it [code] Function LookForForm() Dim frm As Form For Each frm In Forms If frm.Name <> mdiMain.Name Then ...put your code here End If Next End Function [/code] Re: unload forms Programming Software Development by plusplus I've tried it and it works. I put it in the timer_timer sub which I have in the form that I want last unloaded, so it might take up to a minute till the program ends. Is there a better place to put it Re: Always unload dll files to save memory Hardware and Software Microsoft Windows by Dani Thanks for this. However, what advantage does unloading DLLs have? Does it free up RAM? Re: Always unload dll files to save memory Hardware and Software Microsoft Windows by nanosani Yes .. the programs use dll libraries but they are not automatically unloaded ... taking a pretty much amount of ram .. only for users who dont restart programs frequently( frequently means a lot of times in one session). Re: Always unload dll files to save memory Hardware and Software Microsoft Windows by Mastertech I realize this is an old thread but it showing up high in Google. Just an FYI but this "tweak" is a Myth: [URL="http://mywebpages.comcast.net/SupportCD/XPMyths.html"]http://mywebpages.comcast.net/SupportCD/XPMyths.html[/URL]