Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error work around needed
Message
De
19/02/2013 19:42:16
 
 
À
19/02/2013 19:38:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01566373
Message ID:
01566416
Vues:
31
>>>>>With the help of the folks on the UT I have small web accessing app that collects text and saves it in a table. I am getting errors on some sites. Using code, is there a way to detect the error, skip the error message popup, and advance to the next URL? FWIW the most common error messages is 'member body does not evaluate to an object.', But I want to skip all the URLs that produce any kind of error.
>>>>>
>>>>>I have tried Keyboard "{I}" to click the Ignore button on the error message, but it tends to cascade through all the URLs I want to access. Also tried on error skip with no success.
>>>>>
>>>>>Will try/catch get the job done? Other successful ideas welcome :-)
>>>>
>>>>Before accessing .body, make a little loop checking for existence of the document - with a little sleep(50) to wait for it - and a max of, say, 10 seconds, so the slower pages have the time to load. If you're going for .body or any other element of the page's DOM before it finishes loading, you'll keep getting those most common messages.
>>>
>>>Hvala ti cheese
>>
>>Нема на чему, кобасица.
>
>Oy Vay There is no what, annual sausage.?
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform