Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send data to a Web Page
Message
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:
01501856
Vues:
53
Anatoliy:

This was my success:

oWeb=CREATEOBJECT("InternetExplorer.Application")
* /// crawling visibility: 1= visible, 2= invisible ///*
oWeb.visible=1
* //// go to the main page ////// *
oWeb.navigate2("http://www.testpost.php")
oweb.document.forms(0)."dato1".value='NUEVA PRUEBA'
oweb.document.forms(0)."dato2".value='PARA CONFIRMAR'
oWeb.Quit()
oWeb=null

As you see I had to use "internetexplorer" but, as your prescription, each one apparently know 1 (one) or two properties or methods. No more. I looked for "internetexplorer.application" and... Guess it! All entries from "universal thread". Someone ask the same question I think: Where are listed its properties and methods??? Those who know How do they know? Books?

Your suggestion is the same. Your links don't work. MS doesn't want us to use that object?

"My friend" web developper told me "dato1" and "dato2" he doesn't know VFP fortunatelly (if so he'd probably do all the system)

With only "dato1" and "dato2" the code above worked but the next doesn't

oweb = CREATEOBJECT("Msxml2.XMLHTTP")
oweb.open("POST", "http://www.testpost.php", .F.)
enviar='"dato1="'+'así también? & "dato2="'+'no lo podria creer'
oweb.send(enviar)
oWeb.quit()
oweb=null

This is not the only code I tested but it's the last one.

Oweb.quit() is not a method (doesn't work) and I don't have listed them so I don't know how to close.

I'm still here. I didn't give up yet.

Thank you

Héctor
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform