Ok, I have a simple code to resolve IP address for a specified domain (please excuse the lack of error handling support, but this is a sample only):
VB Code:
Dim dns1 As Dns Dim ips As IPHostEntry ips = dns1.Resolve("something.com") MsgBox(ips.AddressList(0).ToString)
Now, why is it that Internet explorer can resolve something.com and strange.com but that code returns and error indicating that the domain does not resolve?
Thanks!
Luc L.




Reply With Quote