Active feedback control of resistive wall modes (RWMs) has been demonstrated on the EXTRAP T2R reversed-field pinch experiment. The control system includes a sensor consisting of an array of magnetic coils (measuring mode harmonics) and an actuator consisting of a saddle coil array (producing control harmonics). Closed-loop (feedback) experiments using a digital controller based on a real time Fourier transform of sensor data have been studied for cases where the feedback gain was constant and real for all harmonics (intelligent-shell) and cases where the feedback gain could be set for selected harmonics, with both real or complex values (targeted-harmonics). The growth of the dominant RWMs can be suppressed by feedback for both the intelligent-shell and targeted-harmonic control systems. Because the number of toroidal positions of saddle coils in the array is half the number of sensors, it is predicted and observed experimentally that the control harmonic spectrum has sidebands. As a result, each control harmonic has to control simultaneously two mode harmonics. Real gains can stabilize non-rotating RWMs, while complex gains give better results for (slowly) rotating RWMs. In addition open loop experiments have been used to observe the effects of resonant field errors applied to unstable, marginally stable and robustly stable modes. The observed effects of field errors are consistent with the thin-wall model, where mode growth is proportional to the resonant field error amplitude and the wall penetration time for that mode harmonic.