Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 27th, 2012  |  syntax: None  |  size: 0.21 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to clear the stack of forms properly in VB6
  2. for i = forms.count -1 to 0 step -1
  3.  unload forms(i)
  4. next
  5.        
  6. IDispose
  7.  
  8.  sub Close()
  9.  
  10.  
  11.  
  12. dim miclazz as IDispose
  13.  
  14. form each miclazz in forms
  15.   miclazz.Close()
  16. next