Free Web Site - Free Web Space and Site Hosting - Web Hosting - Internet Store and Ecommerce Solution Provider - High Speed Internet
Search the Web

Add all form's captions into a listbox

VB Tips:  Form, Window


 

Private Sub Form_Activate ()
   Dim I ' Declare variable.
   lstForms.Clear ' Clear list box. named 'lstForms'
   For I = 0 To Forms.Count - 1
      lstForms.AddItem Forms(I).Caption
   Next I
End Sub


Copyright (c) 1999 - 2001, robert han, all rigths are reserved.