09-05-2008, 06:54 PM
Anyone know how to pull specific text from a site with the inet control?
INet
|
09-05-2008, 06:54 PM
Anyone know how to pull specific text from a site with the inet control?
09-05-2008, 07:18 PM
There's also this one, I think it's more what you're looking for, but Asrrin's is cooler
![]() viewtopic.php?f=75&t=409&hilit=news+pulled+from+url
09-05-2008, 07:21 PM
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?
09-05-2008, 08:36 PM
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.
09-05-2008, 09:52 PM
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.
09-05-2008, 09:53 PM
Well then look to see if the character IsNumeric.
09-05-2008, 09:54 PM
Ok thx GIAKEN, I will try this out.
10-05-2008, 05:28 AM
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?
|
« Next Oldest | Next Newest »
|