Question: asking about control of fruit fly in pumpkin 
Answer:  spray   emamectin benzoate 1.9 % ec @ 1.5 ml / 2 lit of water