Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Post data in a web site
Message
From
10/08/2002 14:14:01
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00688340
Message ID:
00688345
Views:
23
This message has been marked as the solution to the initial question of the thread.
>I am using the Microsoft WebExplorer Activex to acces pages from my app, i am trying to post data into de destination but i do not find the way and i cann't find documentation about that activex, i am using the NavigateTo() method but i don't know how can i manage the parameters i should pass to that method. The information must be post like if i where using an HTML form with methos="POST".

This is mostly known as IE automation. Try something like this, assuming your object is known as loInternetExplorer:
loInternetExplorer.document.FormName.Field1.value=lcField1Value
loInternetExplorer.document.FormName.Field2.value=lcField2Value
...
loInternetExplorer.document.FormName.submit()
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform