I placed me.dispose in the form's closing event, and everything seems
okay now. Thanks 
--- In helpwithvb%40yahoogroups.com">helpwithvb
yahoogroups.com, "Timothy Rupp" <tim.rupp
...>
wrote:
>
> I'm guessing that you've got an open connection to the database
that hasn't
> been closed and is holding your application open. Make sure that
your
> datasources are closed when you want to exit your program.
>
>
>
> /tr
>
>
>
>
>
>
>
>
>
> _____
>
> From: helpwithvb%40yahoogroups.com">helpwithvb
yahoogroups.com
[mailto: helpwithvb%40yahoogroups.com">helpwithvb
yahoogroups.com] On
> Behalf Of allan_blackford
> Sent: Saturday, June 02, 2007 8:00 PM
> To: helpwithvb%40yahoogroups.com">helpwithvb
yahoogroups.com
> Subject: [helpwithvb] VB.Net Form will not close
>
>
>
> I'm working with VB.Net via VS2005. I'm taking a class and we're
going
> over database connectivity. We are to do a simple application of
> connectiong to a database, and display publisher information. The
> publisher ID is to be in a combo box, and the rest in text boxes.
I've
> followed the line by line instructions and everything works fine.
I've
> made the connection, used the datasources window to drag and drop
the
> controls to the form, and deleted the nav. bar. The catch is now
the
> form will not close. I've coded me.close in a button and that will
not
> work. Clicking the "x" will not work. In the button I added
a 'Hello
> World' message box just to make sure the code was firing, and the
box
> showed. If I step through the code, it appears to be fine, there
are
> not build errors etc. Any ideas????
>
> Thanks.
>
.