PROKA Posted November 24, 2003 Posted November 24, 2003 ok so I have this in a module : Public frm As New mainForm() and this in a button click sub : frm.Show() with the button I want also to close the current form . It works with Me.Hide() ( same result for the end-user ) but I know this doesn't unload the form from memory ... doesn't work with Me.Close() , because it closes both forms Quote Development & Research Department @ Elven Soft
*Experts* mutant Posted November 24, 2003 *Experts* Posted November 24, 2003 You don't have much choice than hiding if the first form you are trying to close is the form the application loop depends on, if the form closes so does that application loop. Quote
reinier Posted November 24, 2003 Posted November 24, 2003 (edited) close/open forms I have had the same irritating 'problem': let's see if I can attach here a zip-file if they arrive, youre problems are solved for alway's and ever. regards, reinier:D [edit]Attachement removed - Please repost it without binary files[/edit] Edited November 24, 2003 by mutant Quote
PROKA Posted November 25, 2003 Author Posted November 25, 2003 Edit: Attachement removed - Please repost it without binary files Last edited by mutant on 11-25-2003 at 01:21 AM :(( Quote Development & Research Department @ Elven Soft
*Experts* mutant Posted November 25, 2003 *Experts* Posted November 25, 2003 Attaching binary files is against the forum rules :). As I said before, if you want to keep your application loop alive then the form it is running against can't be closed down. Why don't you simply want to hide it? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.