You have not asked a specific enough question. I am assuming that this is because you do not know where to start.
Based on your subject, I am assuming that your issue is with writing the data to the database, not determining when the IP address is hit.
1) You should have one or more tables that will store the information. If you don't have this already, then you need to talk to your DBA to help design it. If you don't have a DBA, then you need to do this yourself. There are many books on how to design databases. You should plan on finding out how/why/when the data will be used, and take that into account.
2) You need to use ADO.NET to communicate with the database. If you are not familiar with ADO.NET, I recommend getting a book that talks about it. Most Beginning/Professional VB
.NET books will have a chapter about it. There are also books devoted to the topic of ADO.NET from VB
.NET. I would expect that the beginning/professional VB
.NET books would give enough information for what you want to do. They typically also have a chapter or two on web services.
John R Lick