Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Webbrowser41 post string
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00552593
Message ID:
00553216
Vues:
20
>Hello,
>
>Thanks for the reply. I think I need to clarify a bit. First I load a page in the browser control window, which is a form asking for input with a submit button on it. The HTML code indicates that it is running a CGI script using the POST method when the SUBMIT button is clicked. I would like to capture the string sent back to the server when that button is pressed, which would include a URL, a CGI reference, and a list of parameters after the '?'. The BeforeNavigate and DownloadBegin events don't seem to fire at this time (which surprised me).
>
>The idea is that I would like to have VFP send this request to their server stuffed with dynamic data then parse the results with VFP. I have done this on other sites, but they leave the request string intact in the address bar so it was simple. This site only shows the URL without the passed parameters, so I cannot see the formatting. Failing a browser control solution, I will have to dig into the HTML code and investigate the form construction which I can do, but I thought this would be easy. I am surprise by the general lack of response to this question, I thought it would have been something that lots of FoxHeads would have conquered already.
>
>Bob
>

I tried the DownloadBegin, and something I noticed is that if you try the same url several times these events do not fire (for some reason). There I was getting the url with This.Document.Location.href.

But if you say you have control to the page, you could just put code on the OnSubmit event to capture this.

-snip-
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform