being fired like that sucks!!!

i would be really pissed off.

anyway, i dont know how are the laws over there, but here in Panama the code belongs to the company cause you used the company's hardware and tools (vb 6.0) to develop it...

you should talk to the government agency that deals with employment over there... and ask for your money.