I am using vb 6.0
I am fairly new to VB, my question is:
On my main form I have a command button that has 40 procedures and it loops through them about 1,000 times and then exits. Nothing is passed and all of the variables are private.
I have one problem, memory. As it loops through the procedures, the memory taken up by the program keeps increasing. I have learned that the variables are not being cleared after the procedure ends and they are being kept in memory.
After googling for days, all I could find out was to use "an activeX"
Should I use "Active X exe" or "Active X dll"?
lazlo2000
Recommended Answers
Jump to PostWell, it really depends on exactly what you are doing...
If you have something like this...
Procedure01 calls procedure02
Procedure02 calls procedure03
03 calls 04
04 calls 05
....Then what you are doing is building up the stack space and thus you can see the memory …
Jump to Postfrom vb's help file...
Project Limitations
A single project can contain up to 32,000 "identifiers" (any nonreserved keyword), which include, but are not limited to, forms, controls, modules, variables, constants, procedures, functions, and objects. Note that the actual number of identifiers is limited to available memory.Variable names in …
All 5 Replies
vb5prgrmr
143
Posting Virtuoso
lazlo2000
vb5prgrmr
143
Posting Virtuoso
lazlo2000
vb5prgrmr
143
Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.