Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling IE, passing text into a textbox
Message
From
14/01/2002 08:57:43
 
 
To
14/01/2002 07:44:22
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00604180
Message ID:
00604253
Views:
22
Hi Len

Thanks for your reply, it was a big help

I am getting an error "object required " when I reach the last line of code.

I should explain, that I am calling this code via VBA

Set oExplorer = New InternetExplorer
oExplorer.navigate ("http://sunlib-st.com:1234/visualhistory/visualhistory.jsp")

oExplorer.Visible = True

Set oDoc = oExplorer.document

TxtBox = oDoc.getElementById("pattern")

TxtBox.innerText = "IMNTADD" *

* the error occurs here

at this point the TxtBox is an object, but, I can not see any properties attached to the box via the debug screen.

Do you have any ideas ?

Hope you can help

Regards

Steven
Previous
Reply
Map
View

Click here to load this message in the networking platform