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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to "trigger" event based on Socket activity?

Status
Not open for further replies.

Guest
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 is, each new message overwrites the previous, without creating any logs. I did not write the Excel app, and don't know how it works.

I NEED TO WRITE 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 as a "trigger" to run SQL query: Use 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 monitor WINSOCK for received messages?

* 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