My new problems: IP addresses, Navigate() function, other stuf...

Jan 26 2005 7:23 PM
these two problems are REALLY giving me trouble... 1. i need to be able to get the IP address for a website. and not with the Dns.Resolve() function, because that doesn't work. i'm trying to use IP address instead of the DNS address (if thats what its called) to go to a website. so i want to be able to turn a URL like "google.com" into the appropriate IP address, but it has to not involve DNS somehow, because it doesn't work at school. some guy in my class did it in VB6, he said he made his own function to get IP addresses from links. thats what i'm really after, being able to click on a link and have it go to the right IP address, instead of saying the page cant be found (like at school) because it uses DNS. 2. the Navigate() function for the Microsoft Web Browser ActiveX component doesn't work. i did it like the simple C# browser tutorial said and gave it the address(in this case an IP address), followed by a System.Object ref contaning 0, and 3 System.Object refs containing "". it used to work here. it still works at my school. but it doesn't work here at home. i'm even using the same program so the source isn't different at all.

Answers (2)