Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Public variable
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00407614
Message ID:
00412366
Vues:
11
Hi,
If u define a Public variable in a Form or module u need to specify the Object name then the variable

(in Form1)
Public strString1 as string
(from Form2)
Form1.strString1 = "The String"

if u want your variable to be Globally accessible to all forms/modules
declare the variable as Global.

benj =)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform