Does anybody know how to free memory in a vb app.
I found a vbs file wich contained:
FreeMem = Space(24000000)
I would like to do about the same in vb
thnx
Printable View
Does anybody know how to free memory in a vb app.
I found a vbs file wich contained:
FreeMem = Space(24000000)
I would like to do about the same in vb
thnx
This isn't freeing memory, it's taking it up, majorly. It's creating a string consisting of 24M spaces and assigning it to the variable "FreeMem".
(Which, by the way, would be a good example of a bad variable name.)
Aside from that, I can't really awnser your question, other then to unload unused forms, make variables only as big as nessary, etc.
BrewGuru99