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.