Go Back   WhatIsMyIP.com® Forum > All About Code > Code Requests

Notices

Code Requests People having specific needs to automate their IP retrieval can post their needs here in hopes that a coder can help them out.

Closed Thread
 
Thread Tools Display Modes
Old 05-03-2012, 04:06 PM   #1
xanderful
Member
 
Join Date: May 2012
Posts: 1
xanderful is on a distinguished road
Default VB script for finding a real ip address

I am looking for a VB script what would link up to the http://automation.whatismyip.com/n09230945NL.asp site. Would someone be able to help?
xanderful is offline  
Old 05-04-2012, 11:31 AM   #2
wimiadmin
Administrator
 
wimiadmin's Avatar
 
Join Date: May 2008
Location: Pigeon Forge, TN
Posts: 1,511
wimiadmin is a splendid one to beholdwimiadmin is a splendid one to beholdwimiadmin is a splendid one to beholdwimiadmin is a splendid one to beholdwimiadmin is a splendid one to beholdwimiadmin is a splendid one to beholdwimiadmin is a splendid one to behold
Default

Hi xanderful,

I'm hoping one of the community members can jump on and offer some of their code.

WhatIsMyIP.com doesn't support any scripts of our own at this point.
__________________
Brian
Please Search Before Posting
wimiadmin is offline  
Old 06-01-2012, 06:17 PM   #3
YoungJules
Member
 
Join Date: Jan 2012
Posts: 42
YoungJules is on a distinguished road
Default VBScript

Save the following as (for example) whatismyip.vbs, double-click to run it

Code:
Dim o
Set o = CreateObject("MSXML2.XMLHTTP")
o.open "GET", "http://automation.whatismyip.com/n09230945NL.asp", False
o.send
MsgBox o.responseText
Kind regards,
YoungJules
YoungJules is offline  
Old 06-01-2012, 06:19 PM   #4
YoungJules
Member
 
Join Date: Jan 2012
Posts: 42
YoungJules is on a distinguished road
Default

@xanderful


Kind regards,
YoungJules

EDIT by Shnerdly:
I moved the code thread to this thread for clarity. As a stand alone thread it was unclear as to it's purpose.

Last edited by Shnerdly; 06-02-2012 at 09:48 AM. Reason: clarity
YoungJules is offline  
Old 06-02-2012, 11:24 AM   #5
YoungJules
Member
 
Join Date: Jan 2012
Posts: 42
YoungJules is on a distinguished road
Default

The Code Samples sub-forum was good for keeping all code samples together, my reply to xanderful showed where to go for that particular code sample in response to the request made.

Now we have some code here, some there... I don't find moving the post out of code samples has achieved anything positive at all.
YoungJules is offline  
Old 06-02-2012, 04:31 PM   #6
Shnerdly
• The †erminator
 
Shnerdly's Avatar
 
Join Date: Jun 2010
Location: The frozen tundra of Minnesota
Posts: 1,344
Shnerdly has disabled reputation
Default

@YoungJules

The post I moved was essentially just code without any explanation of what it was for. The title was just VB. I moved it to where it applied so others would know what it was for.

If you want to add it to the Code Samples forum, please do so but define it's purpose.
__________________


Grammar is important. For instance, commas save lives:

Let's eat grandpa.

OR

Lets eat, grandpa.

Shnerdly is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:37 PM.


What Is My IP

Join WhatIsMyIP.com on Facebook Follow WIMI on Twitter

Need IP address location detection service? Get it from IP2Location.com now.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright - WhatIsMyIP.com®