Synthesis of 2-(pyridylethenyl) derivatives of 3H-pyrido[2,3-d]pyrimidin-4-on [Va-k] by condensation of selected 2-methyl-3H-pyrido[2,3-d]pyrimidin-4-ones [IVa-k] with nicotinic aldehyde is described. Compounds [Vh] and [Vi] showed weak analgetic activities.