Sounds like something screwed up in the file and print sharing on computer B. Uninstall the file and print sharing and reboot. Then install it again and reboot computers A and C.

I am assuming that:
A) you have all 3 machines on the same workgroup
B) have had some hand in setting up this network in the first place