|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
grab info from other site
I'm trying to grab the info and put it on my site but i get this error
Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /yahoo.asp, line 5 I think it has something missing with InetCtls.Inet Code:
<%
Dim objInet , strURL , strOpen
'create an instance of inet transfer con
' trol
Set objInet = Server.CreateObject("InetCtls.Inet")
'this is our page , in this case the sym
' bol is msft (Microsoft)
strURL ="http://finance.yahoo.com/q?s=msft&d=c&k=c4"
'set th etimeout value
objInet.RequestTimeout = 40
'set the url to strURL
objInet.Url = strURL
'download the page
strOpen = objInet.OpenUrl
'our starting point the page
startPoint= InStr( strOpen, "<BIG>Chart: </BIG>" )
'our end point on the page
endPoint = InStr( startPoint, strOpen, "Add To My Portfolio</A>" )
'store it all in the variable strYahoo
strYahoo = Mid( strOpen, startPoint, endPoint-startPoint )
'clear up
Set objInet = nothing
%>
<%= strYahoo%>
|
|
#2
|
|||
|
|||
|
am i suppose to have Visual basic installed? If so, is there another way to get InetCtls.Inet on my server without installing Visual Basic?
|
|
#3
|
|||
|
|||
|
thanks, but i don't know how to write program though.
What am i trying to do is to grab the specific stock quotes or news from other websites and put into my site. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > grab info from other site |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|