We present a general solution to the classical Einstein-Maxwell dilaton-axion equations starting from the general metric of type-D without a conformal factor. Namely, this stringy solution is the result of a transformation on a vacuum type-D solution to the Einstein equations which was studied in detail some years ago. This method also allows us to obtain the string version of the so-called C-metric.