Sorry, but I can't get it to work. I always get error trying to do the :Submit()
I tried:
oActiveX:GetProp("Document"):GetProp("Forms"):Submit()
oActiveX:GetProp("Document"):GetProp("Forms")[0]:Submit()
oActiveX:GetProp("Document"):GetProp("Forms[0]"):Submit()
oActiveX:GetProp("Document"):GetProp("frm_test"):Submit()
And so many other variants, but no luck. Can you try it on your end?
Thanks!
To give you a hint, this is a working xHarbour sample:
PROCEDURE Main()
LOCAL oIE
oIE := CreateObject( "InternetExplorer.Application" )
oIE:Navigate( "http://www.winfakt.be/form_test_1.htm" )
oIE:Visible := .T.
WHILE oIE:Busy
SecondsSleep( 1 )
END
oIE:Document:Forms[0]:Submit()
RETURNPatrick