You have to drive the vehicle, through what is called a "drive cycle"....if you do not follow the specific steps, then the flags will not reset, because each flag will not run it's diagnostic test, if not under the proper conditions.....it's not just a matter of driving a couple hundred miles....
http://www.lyberty.com/car/drive-cycle.html