Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can anyone help with this?
Message
From
24/09/2005 10:20:17
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
24/09/2005 02:48:32
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01049412
Message ID:
01052701
Views:
11
Ok, I get it. Assuming this works, I wonder if the loIE object needs to be visible? Kinda ugly if it has to be shown to work. Anyway thanks for the suggestion and assistance.

Regads,

Mike


>Hi Mike,
>>
>>Could you please expand on what you mean by,
>untested from the hip [check the COM object models of
>ShDocVw for IE and WebBrowser as well as MSHTML for Html-DOM]
>
>local loIE, loDom, lnRun
>loIE = createobject("InternetExplorer.Application")
>loIE.visible = .t.
>loIE.navigate("http://www.myWsCenter.Com")
>*** insert your preferred way of waiting for completion of asynch
>*** IE operation: readystate-Property, documentcomplete-Event
>loDom = loIE.document
>for lnRun = 0 to loDom.All.Length-1
>  ? loDom.All.Item[m.lnRun].OuterHtml
>next
>...
>loDom.All.Item[m.lnIdentifiedAsPwd].value = "Pwd"
>loDom.All.Item[m.lnIdentifiedAsPostButton].Click()
>
>
>regards
>
>thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform