well am a Beginner and i'm trying to do sumthing..
i need my DNS to be in a TEXT when i load the Project.. i mean when i run it my DNS comes in a TEXT..
hope to get full explination how to do it..
Printable View
well am a Beginner and i'm trying to do sumthing..
i need my DNS to be in a TEXT when i load the Project.. i mean when i run it my DNS comes in a TEXT..
hope to get full explination how to do it..
Can you reword your post please? I don't understand what you're talking about
Do you mean that you need to take your DNS info (a number?) and convert it into text or something like that? Doesn't sound right, though...
ac
no i dont want to convert it ( i need to take the DNS number and put it in a TEXT FIELD when the project loads !
For that you would use functions located in system.net.dns
here is an example that would get the ipaddress:
This passes your computers name to a function that returns an array of your ipaddressCode:Dim ipaddress As System.Net.IPHostEntry = System.Net.Dns.GetHostByName(System.Net.Dns.GetHost)
then convert the array into a string and place it into the textbox
does this help? For more info google should get you what you need :)
i think this also get the IP address but i need to get the DNS
me.winsock1.localip = text1.text sum1 told me that this get the ip <<
What do you mean by the DNS?
lol...and converting it into text is different from putting it into a text field? For the sake of answering a question, the difference is non-existant.
ac
i got it guyz thx anywayz for who tried to help finally Google got me what i want..
i wanna ask for sumthing more easier how to open a URL on click of button or whatever a label