all groups > asp.net > february 2005 >
You're in the

asp.net

group:

Help using IP2Geo Web Service


Help using IP2Geo Web Service JT
2/4/2005 10:23:57 PM
asp.net:
I am doing a project for school and I have to use a public web service from
http://www.xmethods.com. I think I could really use the IP2Geo service. I
have my page setup and the web reference to the site. I just don't know how
to get it to actually use the service. I need some help w/ the correct
code.

Re: Help using IP2Geo Web Service Scott Allen
2/5/2005 9:50:56 AM
Do you have anything written yet?

--
Scott
http://www.OdeToCode.com/blogs/scott/

[quoted text, click to view]
Re: Help using IP2Geo Web Service Jerry Taylor
2/5/2005 10:47:42 AM

Yes I have...

[quoted text, click to view]
this...



Dim IP As String
Dim Lkey As String
TextBox1.Text = IP
TextBox2.Text = Lkey


Dim MyService As com.cdyne.ws.IP2Geo = _
New com.cdyne.ws.IP2Geo

MyService.ResolveIP(IP, Lkey)

I have on my webform 2 text boxes that the user will enter an Ip address
and a lisence key. Which needs to be 0. then I want them to be able to
see the geographical location of that Ip address by using the public web
service IP2geo.

jt@prostartech.com
jermike00jt@aol IM


*** Sent via Developersdex http://www.developersdex.com ***
Re: Help using IP2Geo Web Service Scott Allen
2/5/2005 9:53:42 PM
That seems find so far -

Does the Resolve function return information in a string? Chances are
you'll need to display the return value, or parse the location out of
the return value.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Sat, 05 Feb 2005 10:47:42 -0800, Jerry Taylor <jt@prostartech.com>
[quoted text, click to view]
AddThis Social Bookmark Button