Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check if object reference is Nothing
Message
De
13/04/2001 09:39:03
Shane Gilbert
Oklahoma State Department of Education
Norman, Oklahoma, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Check if object reference is Nothing
Divers
Thread ID:
00495258
Message ID:
00495258
Vues:
53
I tried to do the following where oRef is an object reference Dim'd elsewhere :
If oRef = Nothing Then
    Set oRef = New Object
End If
But it gives me an error. What is there correct way to see if an object reference is a valid object or has not been assigned/created yet? Thanks,
--Shane
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform