Because you have fallen victim to the infamous "hanging-out exit" syndrome. You should put some value after your EXIT statement, else the next expression gets evaluated along with the exit (in this case, the MessageBox function), so do this:

Exit 0

-Shawn