Fly strips work. They work even better after catching a few flies (I guess misery loves company!). They're cheap too.
The vinegar thing is for fruit flies or gnats - it doesn't really work on typical house flies.
Or... you could use a fly gun. ..... : D