thank you for your help before---also,

what can i react with BaO to get some noticable consequence---how can i show that what MgO was involved in the reaction?

You're aren't very clear exactly what you want. If you want to show the presence of Ba, add Na2SO4 and obtain a white ppt that is insoluble in HNO3.