Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Use WinSock acrivity to trigger an event?

Status
Not open for further replies.

JoBlink

Technical User
May 28, 2004
38
US
Hi!
I am working with DDE application that links Excel with a website on a remote server.
The website sends messages and that application inserts them into Excel.

THE PROBLEM: each new message overwrites the previous, without creating any logs. I did not write the Excel app, and don't know how it works.

DESIRED SOLUTION: AN APP THAT WOULD SAVE THE MESSAGES TO A DATABASE. ACCESS, SQL2K, ORACLE - DOES NOT MATTER.

Somebody suggested to write code to monitor socket activity and use it to "trigger" an SQL query on exhisting Excel file as datasource, grab data, insert into DB.

I am good with Databases and VB.Net, but weak on WinSock API side.

* How do you write code to raine an event based on WINSOCK activity?

* How do I distinguish that WINSOCK ACTIVITY IS RELATED TO message came form THAT site?


Any suggestions, please?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top