-
September 16th, 2004, 06:16 PM
#1
Gettin my DNS in Visual Basic
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..
-
September 16th, 2004, 09:43 PM
#2
Can you reword your post please? I don't understand what you're talking about
A mind full of questions has no room for answers
-
September 16th, 2004, 11:19 PM
#3
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
-
September 17th, 2004, 01:18 AM
#4
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 !
-
September 17th, 2004, 05:05 AM
#5
For that you would use functions located in system.net.dns
here is an example that would get the ipaddress:
Code:
Dim ipaddress As System.Net.IPHostEntry = System.Net.Dns.GetHostByName(System.Net.Dns.GetHost)
This passes your computers name to a function that returns an array of your ipaddress
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
A mind full of questions has no room for answers
-
September 17th, 2004, 06:25 AM
#6
i think this also get the IP address but i need to get the DNS
-
September 17th, 2004, 06:27 AM
#7
me.winsock1.localip = text1.text sum1 told me that this get the ip <<
-
September 18th, 2004, 08:17 AM
#8
What do you mean by the DNS?
A mind full of questions has no room for answers
-
September 18th, 2004, 09:01 PM
#9
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
-
September 20th, 2004, 02:17 AM
#10
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|