Netduino/Arduino to Variable Resistor
You can use a microcontroller to control a digitally-controlled potentiometer... there are lots to choose from. They vary in their control mechanisms, but there are several available that can be controlled over I2C or SPI.

The MCP4151-103E/P looks to be cheap, through-hole, pretty capable, and is controlled over SPI for instance.