Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send data to a Web Page
Message
De
10/03/2011 12:47:39
 
 
À
10/03/2011 10:32:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01500623
Message ID:
01503203
Vues:
79
OK, as I understand it now, Claude Fuchs' answer to you really is the closest to what you want. This "process" is called Automation, and what it does, is "automate" Internet Explorer from VFP to fill in the data and submit the data. Claude' answer is in Message#1500627. You have to change the code, but it's a head start. Forget about the login and all that, Claude clearly simply copied some working code that he uses himself. This IE automation is not easy, but it's not rocket science either. Personally I do it a lot, and I have bought a tool called IE WebDeveloper V2 which is a tool you simply can't live without if you do IE automation. The price is low, but I believe you can download it and test it for some time before you must buy it, Check http://www.ieinspector.com/dominspector/. There are similar products available for Firefox, Chrome, Opera and other browser also, but since only IE can be automated (at least as far as I know), IE WebDeveloper is my favorite.

If you send me a private email with the URL in question, I will send you some code to get you started.

>Tore:
>
>You didn't offend me. I'm a bit upset because Microsoft doesn't give, apparently, support for "explore.application" that I think it would solve my problem and the only solutions I could find haven't convinced me. An activex? Great. You can download an example program so you can see the marvelous things you can do. Then buy it! No. Let me make the code and test it. If I success I'll buy it. Don't show me what you do, show me how you do it. (if you want to sell me a developper tool) after all I'm not going to program an activex.
>
>
>oweb.document.forms(0)."dato1".value='NUEVA PRUEBA'
>oweb.document.forms(0)."dato2".value='PARA CONFIRMAR'
>
>
>This above worked. Why? I don't know. I only found an example code that a programmer posted in any web page but years ago. I'd like to know where did he find "document" and "forms(0)" properties or methods why the "0", why "value" but there's not reference.
>
>The same with vbscript. I'd like to know how reconnect a unit to a net drive without repeat my speech indicating how to my clients. Where is there a complete list of instructions? Microsoft says now "it was a good language but it was used with malicious purpose" so not only there's not documentation but no more support.
>
>Excuse if you thought I was rude but among who tries to sell me a software solution and who tells me "it easy" gives me an example but the links to the Microsoft reference are not available I don't feel very encouraged.
>
>Thank you very much.
>
> Héctor
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform