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.
"Peter Foot [MVP]" wrote:
> 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
>
> --
> Peter Foot
> Windows Embedded MVP
> http://www.inthehand.com | http://www.peterfoot.net
>
> "David C." <David C.@discussions.microsoft.com> wrote in message
> news:3C62265F-36B0-4713-A6A0-(E-Mail Removed)...
> > 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
>
>
>