Try using the spaces.dll. You should be able to find it easily and it will do what you want.