Results 1 to 3 of 3

Thread: Objects

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263
    How do I tell if an object = nothing without using any error handlers? (If Object = nothing returns an error.)

  2. #2
    Guest
    From MSDN
    Use error trapping to be sure that an object reference is valid.

  3. #3
    Guest
    When there's a question, there's an answer

    It obviously is possible.

    Code:
    If object Is Nothing Then
        MsgBox "Object is Nothing!"
        'object is nothing, whatever code here.
    End If

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