Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
INet
#1
Anyone know how to pull specific text from a site with the inet control?
Reply
#2
There's also this one, I think it's more what you're looking for, but Asrrin's is cooler Big Grin

viewtopic.php?f=75&t=409&hilit=news+pulled+from+url
Reply
#3
Ok. heres an example. I have this website here, http://www.sqconline.com/mba.html?N=1&AQ...l=1&type=1 and if you look there, under the "The Single sampling procedure is:" there is "Sample 200* items." Is it possible to get that number 200 and put it into a label?
Reply
#4
Not really...

(really not sure about the Mid function from the top of my head)
Whatever = (pull information code)

For I = 1 To Len(Whatever)
If Mid(Whatever, I, 1) = "SomeCharacterYouLookingFor" Then
Whatever2 = Mid(Whatever, I, 3)
End If
Next I

Replace the SomeCharacterYouLookingFor with the first character you want to look for (example - 2). So look for 2 and then you should expect the length of how long it will be (like 200 is 3) so you make Whatever2 where that 200 would be...

I repeat: Not sure about the Mid function without VB6 up.
Reply
#5
But I cant just search for 200. Because what I forgot to mention is, that number changes depending on the Batch Size and AQL percentages.
Reply
#6
Well then look to see if the character IsNumeric.
Reply
#7
Ok thx GIAKEN, I will try this out.
Reply
#8
Ok, how would I go about doing this? I tried to use Variable = INet.OpenURL(TheSite) and im stuck there. I have no clue how to use INet. Also, what came into my head is, if you look on that site, right after that number, there is an astrick (*). Would there be any way to get the number left of the astrick?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)