Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Kishore Kumar
  Where is Kishore Kumar?
 HYDERABAD
 India
 Kishore Kumar
 Tags
Subject: Dialog in IE Automation
Thread ID: 289322 Message ID: 289322 # Views: 53 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Microsoft Office Automation
Date: Thursday, December 30, 2010 6:45:43 PM         
   


Hi Experts

I tried to fill up a web form with IE automation. Once the form was automatically completed and submitted, a popup window appears for confirmation with OK and Cancel buttons. I couldn't figure out how to write code for cliking OK on confirmation popup window. VFP halts at this place waiting for the response.

oIE = CreateObject("InternetExplorer.Application")
oIE.Visible=.T.
oIE.Navigate("samplesite.com")

oie.Document.form1.btnInsert.Click()

Any help on this is appreciated.

Thank you
Kishore

ENTIRE THREAD

Dialog in IE Automation Posted by Kishore Kumar @ 12/30/2010 6:45:43 PM
RE: Dialog in IE Automation Posted by Martin Krivka @ 1/1/2011 4:55:52 PM
RE: Dialog in IE Automation Posted by Kishore Kumar @ 1/8/2011 7:09:25 PM
RE: Dialog in IE Automation Posted by Martin Krivka @ 1/8/2011 9:41:42 PM