• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

IsNothing in VB4

Hello,
Is there any way to check if an object was set to nothing
in VB4 (something like IsNothing) ?

Thank you.
0
sas11
Asked:
sas11
1 Solution
 
schildCommented:
Try this:

Private Sub Command1_Click()

    Dim x As Object
   
    Debug.Print TypeName(x)
    Set x = Form1
    Debug.Print TypeName(x)

End Sub


Good Luck
Schild
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now