Re: Prompting for an IP address
- From: "Peter Proost" <pproost@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 9 Oct 2006 09:19:06 +0200
In 2005 the MaskedTextbox is back, you could use that one.
Greetz, Peter
--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)
"iwdu15" <jmmgoalsteratyahoodotcom> schreef in bericht
news:F569EFAD-01C1-4E89-8733-D2978820AADC@xxxxxxxxxxxxxxxx
There is none that i know of, however, you can just put a textbox for the
user to input the IP in, put a restriction on how many characters they can
input, then use the following code to parse it to an IPAddress object
2003:
Dim ip As IPAddress = DNS.Resolve(Me.TextBox1.Text).AddressList(0)
2005:
Dim ip As IPAddress = DNS.GetHostEntry(Me.TextBox1.Text).AddressList(0)
hope this helps
--
-iwdu15
.
- Follow-Ups:
- Re: Prompting for an IP address
- From: TyBreaker
- Re: Prompting for an IP address
- References:
- Prompting for an IP address
- From: TyBreaker
- Prompting for an IP address
- Prev by Date: Re: vb 6.0 naar vb.net 2005
- Next by Date: create my browser
- Previous by thread: Prompting for an IP address
- Next by thread: Re: Prompting for an IP address
- Index(es):
Relevant Pages
|