Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - build IP Address from user input

Reply
 
Old 07-31-2009   #1 (permalink)
Trevor


 
 

build IP Address from user input

Hi All,
Am running shy on hair here and am looking for some assistance if you can.
What I am looking to do is the following;
get user input (a 3 digit number, eg 550 (input = 550)
split this into 2 parts(currently using left(input,1) and right(input,2) the
gives me 2 numbers 5 and 50
I then want to create an Ip address like this

10.5.50.z

the 10 is always there the 5 and the 50 have taken from the users 3 digit
input and the z will be a select case enter

anyone able to assist. I cant get to grips with the join() command can any
one assit with examples if possible

thanks
Trev

url:http://www.ureader.com/gp/1675-1.aspx

My System SpecsSystem Spec
Old 07-31-2009   #2 (permalink)
Pegasus [MVP]


 
 

Re: build IP Address from user input


"Trevor" <baloo@xxxxxx> wrote in message
news:e561eecdc34b4942bca35bfc93f4b716@xxxxxx
Quote:

> Hi All,
> Am running shy on hair here and am looking for some assistance if you can.
> What I am looking to do is the following;
> get user input (a 3 digit number, eg 550 (input = 550)
> split this into 2 parts(currently using left(input,1) and right(input,2)
> the
> gives me 2 numbers 5 and 50
> I then want to create an Ip address like this
>
> 10.5.50.z
>
> the 10 is always there the 5 and the 50 have taken from the users 3 digit
> input and the z will be a select case enter
>
> anyone able to assist. I cant get to grips with the join() command can
> any
> one assit with examples if possible
>
> thanks
> Trev
>
> url:http://www.ureader.com/gp/1675-1.aspx
Did you check the answers to your first post on the same subject?


My System SpecsSystem Spec
Old 07-31-2009   #3 (permalink)
Luuk


 
 

Re: build IP Address from user input

Trevor schreef:
Quote:

> Hi All,
> Am running shy on hair here and am looking for some assistance if you can.
> What I am looking to do is the following;
> get user input (a 3 digit number, eg 550 (input = 550)
> split this into 2 parts(currently using left(input,1) and right(input,2) the
> gives me 2 numbers 5 and 50
> I then want to create an Ip address like this
>
> 10.5.50.z
>
> the 10 is always there the 5 and the 50 have taken from the users 3 digit
> input and the z will be a select case enter
>
> anyone able to assist. I cant get to grips with the join() command can any
> one assit with examples if possible
>
> thanks
> Trev
>
> url:http://www.ureader.com/gp/1675-1.aspx
http://tinyurl.com/nbksx3


--
Luuk
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
HID Non-User Input Data Filter Vista installation & setup
Waiting for user input PowerShell
Re-build XP address book Vista mail
Validating a user input directory path PowerShell
User Input PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46