Results 1 to 39 of 39

Thread: [ RESOLVED ]...Unloading Forms...

Threaded View

  1. #1

    Thread Starter
    ^:^...ANGEL...^:^ wrack's Avatar
    Join Date
    Mar 2002
    Location
    Melbourne, AUSTRALIA
    Posts
    2,695

    Thumbs up [ RESOLVED ]...Unloading Forms...

    VB Code:
    1. Private Sub cmdBack_Click()
    2.     frmMain.Show
    3.    
    4.     Dim frm As Form
    5.     For Each frm In Forms
    6.         If frm <> frmMain Then
    7.             Unload frm
    8.             Set frm = Nothing
    9.         End If
    10.     Next frm
    11. End Sub

    What is wrong with this code...???

    Gives compile error: Type mismatch

    Hope some one can fix it...!!!

    Cheers...
    Last edited by wrack; Jul 15th, 2002 at 09:18 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width