Unable to use HTMLParser Search Method (General questions)

by Thomas @, (6249 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?

locked

Re: Unable to use HTMLParser Search Method

by woddrazen @, (6249 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

locked

Re: Unable to use HTMLParser Search Method

by Thomas @, (6246 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!

locked

Re: Unable to use HTMLParser Search Method

by Thomas @, (6246 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!

locked