Results 1 to 3 of 3

Thread: set form = nothing

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    Philadelphia
    Posts
    123

    Question

    Is it proper VB technique to set a form = nothing after unloading it?
    VB6 & VC++6 Pro (SP4), Java (Sun JDK)

  2. #2
    Guest
    Yes. That will clear up resources

  3. #3
    Guest
    Set form1 = Nothing is used to free up any resources that were being used by your form. You don't have to use it, but it's a good habit.

    Code:
    Unload Me
    Set form1 = Nothing
    End

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