Interactive Computational Code is presented that provides a high-productivity analysis of the complex detonation spraying technology. It is based on exact gas dynamics theory taking into account chemical reactions for description of the gaseous detonation phenomena. It deals with specific features of the process like non-homogeneity of gaseous mixture compositions due to gas filling operation and powder injection into the barrel. Acceleration and heating of powder particles by the detonation product flow were simulated including particle melting, fragmentation and vaporization. Calculations for different fuels and powder materials were accomplished. Optimum conditions (gas mixture, barrel length, powder injection point, etc.) to provide highest velocity and appropriate temperature for typical metal and cermet powders are discussed. The conditions for coating formation by the detonation gun «Ob» were established and samples were produced. Experimental data on detonation coating properties are presented to prove the theoretical results.