I have found a solution, follow these steps.
1) locate the battlefrontII.exe then right click mousebutton on it
2) select properties and click compatibility Tab
3) Tick "run this program in compatibilty mode for: and select windows 2000
4) click apply and ok
5) run game and enjoy
hope it works for others ,good luck !