End statement in VB.Net 2003
Can anyone please tell me how to exit a program, using an Exit button, written for a Smart Device in VB.net 2003?
The 'END' statement (without any additional keywords) is not supported. It is OK for a Windows application i.e. inserting 'END' into a buttons click event, but it doesn't work for a Smart Device application.
Any comments welcome.
Thanks.
Re: End statement in VB.Net 2003
Quote:
Originally posted by Steve Cain
It is OK for a Windows application i.e. inserting 'END' into a buttons click event
no it isn't!
Yes "End" works, but it doesn't unload objects or free memory. Not clearing up properly is very bad - if you dont do it then repeatedly running your application will cause the system to slow down & maybe even crash.