Using transformations and VBO's

Hello, i am making a program in which i am drawing 2D shapes stored in VBO’s,

  1. and i am implementing pan and zoom with glScalef(),Translatef() etc… But it seems not to work with VBO’s…What is wrong i am doing???
  2. Also i trying to use glViewport(…) it works correct with immediate codes but with VBO’s it only stuck to (-1,1,-1,1) , why??

What is wrong i am doing???

How could we know? You could be doing any number of things wrong; without seeing the code, we can only guess. The same goes for your other question.