You will need to run it in compatability mode.
Right-click the program icon/shortcut on your desktop or the shortcut on the Start menu for the sims game, and then click Properties.
Click the Compatibility tab, and change the compatibility settings for your game by clicking on windows 98 or 95 in the drop down menu.
Make sure there is a tick in the box above that says 'run this programme in compatability mode for'
Then click apply.