Hiding Statusbar

I would like to hide the statusbar when my vb application starts and show the status bar when my application closes

thanks in advance
raghav