Hi,
>You can also use the Internet Transfer Control as well. I've used it before to pull source
If you are already used to it - why not. But since it is only an activeX wrapper around WinInet I think it is safer to leave that step out, if nothing exists. There are some vfp wrappers around WinInet: recommended, because even with a ADSL or cable connection your pc will not be the bottleneck.
> and then use regular expressions (there is a class library for this) to parse out the HTML.
>I have found this to be faster and easier than trying to use the document model to get the HTML out that I want.
If you need parsing, MSHTML is a great help: much is already done and you can walk the DOM tree.
Yes it is slower, but if you anticipate changes on the web site, best performance may be secondary to ease of change. Depends on the actual case IMHO.
>Once you get your brain around regular expressions you will be spoiled and never want to use VFP to parse strings.
Possibly...
regards
thomas
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement