Networking Windows 7 and Vista
If I understand the question correctly and assuming you have a wireless router for DHCP . You right click on the My Computer and go to properties and put both systems in the same workgroup. Reboot and see if you can ping the two computers from each other.
I would also set up the two computers first connected without wireless confirming they can see each other. Then configure secure wireless