I have no idea why this is happening

i just got vb.net 2005 express edition, whenever i start a program, the form simply hangs for no reason and i have to kill it

the compiled program works fine

any idea why this could be happening?