In this paper, we study the existence problem of solutions for a class of variational inequalities and quasi variational inequalities under weak hypotheses and in a more general setting. We generalize and improve corresponding results of for the noncompact set.