If you're in Windows XP, right click on the WLAN icon, select "View All Wireless Networks" >> Change the order of preferred networks >> Add/change the properties of the network you want to automatically connect to. Make sure that the password is entered in PROPERTIES.