The forced oscillations of an incompressible fluid drop in the non-uniform electric field are considered. The external electric field acts as an external force that causes motion of the contact line. In order to describe this contact line motion the modified Hocking boundary condition is applied: the velocity of the contact line is proportional to the deviation of the contact angle and the rate of the fast relaxation processes, whose frequency is proportional to twice the frequency of the electric field. The equilibrium drop has the form of a cylinder bounded by axially parallel solid planes. These plates have different surface (wetting etc.) properties. The solution of the problem is represented as a Fourier series in eigenfunctions of the Laplace operator. The resulting system of heterogeneous equations for unknown amplitudes was solved numerically. The amplitude-frequency characteristics and the evolution of the drop shape are plotted for different values of the problem parameters.