"Not enought storage is availabe to process this command"

G

Guest

Hi,

I'm programming on a VB.NET with ADOCE In The Hand Component. The
aplicacation are working well but sometimes tell us:

"Not enought storage is availabe to process this command"

I want to know two questions:
- Is possible to bring to "ndpedidos.exe" saved on Store 256Mbytes Card the
maxium storage? It means if I can tell on the code the memory that can use...

- How can close all the database connections on a form. ?

- the code sentence "MyForm.Close( )" will leave all memory that this form
was using ?

Best Regards,

David
 
P

Peter Foot [MVP]

You can close a connection using the Close() method on the AdoceConnection
object, you should also call Dispose to free native resources used by the
component.

Peter
 
G

Guest

Hi Peter,

Thanks, I will try it. I have a button that make an update or and insert
depens of an article is on a table. The form is athe same instance each time.

All is working well, but sometimes on the PPC appears the next error:
"Not enought storage is availabe to process this command"

I use CF VB.NET and i have a Datagrid on a Form that is instancied a lot of
times. (the same form with different data that comes from DB)

So you suggest that each time that call this form, make a new instance and
work with this one, at the end make a myform.Dispose( ) in order to close all
that memroy has, is it correct ?

David.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top