VB Code About Closing 2 or more forms pls..


Ex: Unload me (close the current or 1 form)

what about closing 2 or more forms..?? can anyone help me? pls..

thanks..

Unload Form1
Unload Form2

Every form?

Dim F As Form
For Each F In Forms
  Unload F
Next F

Good Luck

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.