Information générale
Catégorie:
Codage, syntaxe et commandes
>As an added note, don't forget to set strA = Nothing when you're through with it. An object reference was created when you created strA and set it = to your form, and it needs to be destroyed before the form is. If the form unloads first, there will be a stray object reference pointing to nothing.
You're right. Although what happens is that the form stays in the loaded state, even though is not visible and the variable still points to the form's control.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement