Try adding
Application.DoEvents before the close method...
I do'nt know if it will work, but dispose is for garbage collection, and not
the right way to shut down a window. Close calls dispose through Finalize I
believe.
"Andy" <(E-Mail Removed)> wrote in message
news:QTifb.220418$(E-Mail Removed)...
> The same Exception happens also with "Me.Close()"...
>
> Andy
>
>
> "Patrick Steele [MVP]" <(E-Mail Removed)> ha scritto nel messaggio
> news:(E-Mail Removed)...
> > In article <9Fhfb.219805$(E-Mail Removed)>, (E-Mail Removed)
> > says...
> > > What is the problem? I would like to close the form by double clicking
> on
> > > the listbox...
> >
> > Try Me.Close().
>
>
>