Solved

IsNothing in VB4

Posted on 1998-11-08
1
281 Views
Last Modified: 2013-11-25
Hello,
Is there any way to check if an object was set to nothing
in VB4 (something like IsNothing) ?

Thank you.
0
Comment
Question by:sas11
1 Comment
 
LVL 2

Accepted Solution

by:
schild earned 50 total points
ID: 1443873
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

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now