You had it right:
Unload me
end
 
Another writer said that "end" is not to be used.  I think he has it confused 
with "Stop"  You wouldn't want to compile a program with "Stop" as a command.  
We only use Stop in lines to temporarily idle the program in order for us to 
check out variables.
 
I went back and checked help and it says just what I always knew -- End 
completely wipes the program from memory.  If you left any files open, it 
closes them.  However, it won't close forms.  Also, it won't save.  So we need 
a save routine if that's applicable.  Sometimes I see programs that end, and 
return you to the desktop but leave a pesky window open.  This is because they 
didn't use unload me first, before End.  
 
Of course, Unload me will only unload the form that we're in.  So if you have 
other forms still open, then they will remain open after the End command.  My 
policy is to only give the user one way to end the program, and that is from 
the main menu.  In every form, when they choose the menu, I close the form that 
they are in.  If this is not practical, then I think one should use that code 
that someone else posted earlier.  That's the one that will close any and all 
forms that are open.  After using that code, then I would say "End"  

"Shawn K. Hall" <[EMAIL PROTECTED]> wrote:
 
                
---------------------------------
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'

[Non-text portions of this message have been removed]







'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to