Unable to use HTMLParser Search Method - WeOnlyDo Discussion board

Unable to use HTMLParser Search Method (General questions)

by Thomas, Friday, March 28, 2008, 22:47 (6083 days ago)

Hi there!

I have been trying to use the Search method in the HTML Parser, just like in the example listed under General Info at http://www.weonlydo.com/HtmlParser/Help/

Every time I try to use it I simply get no response/error.

Example:

loX = CREATEOBJECT( WeOnlyDo.wodHtmlParser.1 )
loX.load(lcFile)
loY = loX.parts.search(ByAttributeValue, UserType , false)
loX.unload()

Filter method works fine, but not Search. Any ideas?

Re: Unable to use HTMLParser Search Method

by woddrazen, Saturday, March 29, 2008, 00:01 (6083 days ago) @ Thomas

Thomas,


Can you perhaps try with our sample. You can find it in component Samples folder (Samples\VB\HTML Parser\2. Filter and search)

We have Search VB6 sample.

Let us know how it goes.


Drazen

Re: Unable to use HTMLParser Search Method

by Thomas, Monday, March 31, 2008, 16:01 (6081 days ago) @ woddrazen

Thomas,

Can you perhaps try with our sample. You can find it in component Samples folder (Samples\VB\HTML Parser\2. Filter and search)

We have Search VB6 sample.

I'll see what I can do with it - I'm using Visual FoxPro however.

Thanks!

Re: Unable to use HTMLParser Search Method

by Thomas, Monday, March 31, 2008, 22:24 (6080 days ago) @ Thomas

Thomas,

Can you perhaps try with our sample. You can find it in component Samples folder (Samples\VB\HTML Parser\2. Filter and search)

We have Search VB6 sample.

I'll see what I can do with it - I'm using Visual FoxPro however.

Thanks!

I've checked the VB sample. It runs and works fine on the HTML I'm looking at, but I couldn't see any substantive difference between it and the FoxPro code I'm using.

However I removed the .Parts section for the Search, and it works fine now I believe. No idea why.

Thanks guys!