473,471 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Help using IP2Geo Web Service

JT
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.
Nov 19 '05 #1
3 1257
Do you have anything written yet?

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

On Fri, 4 Feb 2005 22:23:57 -0500, "JT" <jt@prostartech.com> wrote:
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.


Nov 19 '05 #2

Yes I have...

I started out by adding the reference to the web service then I wrote
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 ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #3
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>
wrote:

Yes I have...

I started out by adding the reference to the web service then I wrote
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 ***
Don't just participate in USENET...get rewarded for it!


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Steven | last post by:
Hi all My problem is a little lengthy. But please help me. In my application, ADO.NET DataSet object is not getting constructed in the Web Service Web Method called by the Windows Application...
7
by: Simon Harvey | last post by:
Hi everyone, I need to make a service that monitors a directory for changes in the files contained within it. I have two questions: 1. I'm going to be using a FileSystemWatcher object to do...
7
by: Douglas Robson | last post by:
Ok, I've removed the MyItem class which is found in References.cs and replaced it with a reference to the namespace that has MyItem in it. I've also got rid of the tag at the top of the MyItem...
5
by: Andrew | last post by:
Hey all, Requesting help from the VB.Net gurus in here. I was given a task to write a Windows Service (VB.Net) that would run an external program, and if that program closed for any reason...
12
by: Noel | last post by:
Hello, I'm currently developing a web service that retrieves data from an employee table. I would like to send and retrieve a custom employee class to/from the webservice. I have currently coded...
2
by: Ken Crismon | last post by:
Hello, I am currently working on an embedded systems project where by I have written a small web server that is being hosted on our internet appliance (running on an Atmega128 chip and doing...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
4
by: =?Utf-8?B?Z3Jhenph?= | last post by:
Hello If someone can help me with this it would be greatly appreciated. I’m no web service expert but I don't think i'm trying to do anything too special. I think i must be missing something...
5
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name?...
0
marktang
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,...
0
jinu1996
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...
1
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...
0
tracyyun
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.