If I read question correctly, you can ping an outside IP address but cannot display a web page. Try pinging by URL (e.g. yahoo.com) and see if you can successfully ping a site.
IF pinging by IP address works, but pinging by URL does not, you have a DNS error.
For a networked PC, try other PCs on network. If they cannot connect, it is likely a network DNS problem. If they connect but you cannot, it is a local PC problem. In that case try running winsockfix.exe available at link below.
http://www.tacktech.com/display.cfm?ttid=257
Dalton