If you are searching for someone's IP address it should be only for legal purposes. First start the messenger you use regularly. Now click start, go to run command and type 'cmd' to open command prompt. There type 'netstat' in it. In the results you can find your friends IP address with whom you are chatting with.