Is there a built-in text box for obtaining IP addresses as in the way
Windows prompts for in the Network Config screens?
--
______ ___ __
/_ __/_ __/ _ )_______ ___ _/ /_____ ____
/ / / // / _ / __/ -_) _ `/ '_/ -_) __/
/_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/
/___/
There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.
There's no place like 127.0.0.1.
ASCII a silly question, get a silly ANSI. 4 1891
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.GetHostEntr y(Me.TextBox1.T ext).AddressLis t(0)
hope this helps
--
-iwdu15
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" <jmmgoalsteraty ahoodotcomschre ef in bericht
news:F5******** *************** ***********@mic rosoft.com...
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.GetHostEntr y(Me.TextBox1.T ext).AddressLis t(0)
hope this helps
--
-iwdu15
Peter Proost wrote:
In 2005 the MaskedTextbox is back, you could use that one.
Thanks, I've been playing with this control but can't get it to work as
one might expect e.g. I can use the mask "000.000.000.00 0" and this
allows an IP address which has 4 lots of 3 digits but it doesn't allow
you to enter any IP address which has less than 3 digits in any of its
sections e.g. 66.102.7.99 (Google). Any tips?
--
______ ___ __
/_ __/_ __/ _ )_______ ___ _/ /_____ ____
/ / / // / _ / __/ -_) _ `/ '_/ -_) __/
/_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/
/___/
There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.
There's no place like 127.0.0.1.
ASCII a silly question, get a silly ANSI.
Hi maybe this will help you: http://groups.google.be/group/micros...s.vb/msg/3d7c2
40123fc8def
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)
"TyBreaker" <ty*********@SP AMhotmail.comsc hreef in bericht
news:#U******** ******@TK2MSFTN GP02.phx.gbl...
Peter Proost wrote:
In 2005 the MaskedTextbox is back, you could use that one.
Thanks, I've been playing with this control but can't get it to work as
one might expect e.g. I can use the mask "000.000.000.00 0" and this
allows an IP address which has 4 lots of 3 digits but it doesn't allow
you to enter any IP address which has less than 3 digits in any of its
sections e.g. 66.102.7.99 (Google). Any tips?
--
______ ___ __
/_ __/_ __/ _ )_______ ___ _/ /_____ ____
/ / / // / _ / __/ -_) _ `/ '_/ -_) __/
/_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/
/___/
There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.
There's no place like 127.0.0.1.
ASCII a silly question, get a silly ANSI.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: danijela.simunovic |
last post by:
Hi!
Is there a way that when I run a "make table query" and an "append
query" that i won't be asked those 2 or 3 questions from access like
:"you are about to run a make table...","the existing table ABCDE will
be deleated..." and so on prompting for yes or no! I would like to make
a command button which would prompt me for yes or no and then if i say
"yes" it would first run the make table query and then the append
query without...
|
by: kim |
last post by:
GOOD morning,
I try to open xx.vbs in <href="./xx.vbs"></hef> but it pop up the file
download mesage. How can i disabled it?
I try another solution like this :
set ws = createobject("Wscript.shell")
set oexec = ws.exec("<%=server.mapPath(./xx.vbs)%>")
But it give error "the path/xx.vbs is not a valid win32 application"
May i know why? I think some setting in registry will open the vbs file
|
by: ar |
last post by:
Hello,
In IE I disable "Automatic prompting for file downloads" which causes
the IE information bar to show up when I try to push a file download
from an iframe. I want to keep this behaviour.
When clicking "Download file..." on the information bar, a postback
occurs. I would like to detect this postback. The file that is going to
be downloaded is generated by a rather heavy export, now the export is
running twice. Once before the...
|
by: uoL |
last post by:
Hello,
I'd like to know how to prompt two values with prompt(); function.
I need to get things like 'pass' and 'user, 'article' and 'value', etc
... in a document and I dont want to make a whole html in a pop up to
do it ..
Thanks !
|
by: Joe |
last post by:
Every time our application starts it prompts the user to allow it access to
the internet because our application is checking for updates. Is there
anyway programically to tell Vista to allow this connection without
prompting the user?
Thanks,
Joe
| |
by: jeffkatyspanky |
last post by:
I am prompting for the user to enter an IP address and I can't figure out a cleaner way to re-prompt if the user enters something other than a valid IP address. I'd like to just clear the "bad" entry and redisplay the prompt on the same line. Any ideas?
Thanks in advance for your help.
Here's my code so far:
sub get_wap2gwip {
print "WAP2 Gateway IP address? ";
$wap2gwip = <>;
|
by: pavi |
last post by:
Anyone know how to set the Default homepage using javascript without
prompting a pop up.
Below is the code i used to set default home page.
<a href="#"
onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://
www.xyz.com');">set the homepage</a>
The problem with this code is when i click the link it prompts me a
|
by: Kyle Lanclos |
last post by:
I've done a lot of web searching, a fair bit of C-source reading, and
quite a lot of miscellaneous head scratching, and I find that I am not
necessarily closer to an ideal solution.
I have a Python/C interface layer that essentially does the following:
Py_XDECREF (some_callback);
closeService (some_service);
return;
|
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= |
last post by:
I have a asp.net page, it uses js to print in IE.
It always has the prompting user window appear.
I have tried:
<input onclick="document.all.WebBrowser.ExecWB(6,6)" type="button"
value="Print directly">
<input onclick="document.all.WebBrowser.ExecWB(6,2)" type="button"
value="Print directly">
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |