开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: TWSAPI: General: Anyone know how to refrence a webpage and read it?


Daniel Rosen
 

开云体育

Its easy to do. In VB look at the internet transfer control in the docs (ITC).? Basically you include the ITC on your form and execute something similar to:
?
dim s as string
s = inet1.openurl("html")
?
In C++ you would use the wininet dll.? the ITC is an OCX wrapper around the wininet.dll.?
?
There are other techniques using the browser as a control and then reading the contents (mshtml), but these are the easiest techniques in my opinion.? Once you have the data, parsing is straightforward.
?
... Dan
?

-----Original Message-----
From: marinindextrader [mailto:marinindextrader@...]
Sent: Friday, June 14, 2002 11:05 AM
To: twsapi@...
Subject: TWSAPI: General: Anyone know how to refrence a webpage and read it?

Does anyone know how to refrence a webpage and read its content
programatically?

A friend of mine was able to read the CME settlement page and get the
settlement price for SPoos and Noodles using ensign charting scripts

Here is the site:


html

It apparently is in a delimited format and can be read. Any ideas on
how to do that in VB or C++

Useful for including Net change in your spreadsheets, without relying
on a secondary feed or manual entry.

Scott







To unsubscribe from this group, send an email to:
twsapi-unsubscribe@...



Your use of Yahoo! Groups is subject to the .

Join [email protected] to automatically receive all group messages.