I assume you have circuitry which is capable of driving the bell and you are just wanting to set a pin on the port high/low to turn the bell on/off. In which case simple C programming would be the easiest way. Just address the port with the bell controll bits.
just make a pin high to the relay which is connected to the bell and well just a c r VB program is enough to it just send a value to the micro controller by using different values i think u can control not only bell but many appliances just try it