Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass and return a value in a modal form?
Message
 
To
15/09/2000 22:21:35
Marlou Gargantos
Independent Consultant
Manila, Philippines
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00416948
Message ID:
00417241
Views:
23
>There is an issue of Garbage Collection when it comes to publicly declared variables. VFP handles this well enough but I don't know yet VB. How to release a variable in VB?

A public variable declared in a form (having a simple datatype (integer, string, date, ...)) is deleted from memory when the form is removed from memory.

If your public variable is declared as an object, you can set it to nothing.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform