![]() |
INet - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: INet (/showthread.php?tid=1745) |
INet - Beres - 09-05-2008 Anyone know how to pull specific text from a site with the inet control? Re: INet - Rian - 09-05-2008 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 Re: INet - Beres - 09-05-2008 Ok. heres an example. I have this website here, http://www.sqconline.com/mba.html?N=1&AQL=5&level=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? Re: INet - GIAKEN - 09-05-2008 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. Re: INet - Beres - 09-05-2008 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. Re: INet - GIAKEN - 09-05-2008 Well then look to see if the character IsNumeric. Re: INet - Beres - 09-05-2008 Ok thx GIAKEN, I will try this out. Re: INet - Beres - 10-05-2008 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? |