We have a vb application that has numerous forms. Customer, Supplier could be an example of two that may be open at the same time. Each of these forms may have upto 8 tabs on them which stores other data about the particular customer/supplier. An example could be addresses, contacts, documents,history.....
The problem is that the system resources get reduced drastically when I have 2 of these open. It has gotten so bad at times that we get error 7 out of memory. I installed a memory manager and it says I'm using 50% of cpu and 50% memory so why have I run out of resources. Any ideas. Is there some memory manager I could use to stop this message happening
There are several indexed files behind it. One of these is applicant. One is history. Most of the data is pulled through when the form is loaded. Loading the applicant sheet you can see caused a 26% drop in system resources on a 128mb 1ghz win me pc
Type AppRecord ' Create user-defined type.
ID As Integer ' Define elements of data type.
Name As String * 20
Address As String * 30
Phone As Long
....
....
....
...
end type
Open "app" For Random As #1 Len = Len(AppRecord)
' Read the sample file using the Get statement.
Position = 3 ' Define record number.
Get #1, Position, AppRecord