Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to do this
Message
From
04/10/2007 15:50:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How to do this
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01258701
Message ID:
01258701
Views:
47
Hi Friends
I need your expert advise here. i've this simple form with a web browser control. all it has to do is display a html file and when user click close button return it returns source (ie. html). all working fine . i have this new requirement where i need to load this form programmatically get document object and do something else with it. am doing this like below

do form mybrowser name lo noshow with "c:\sample.htm"
obj= lo.browser.document
lo.cmdclose.click()

am getting error on the last line . if i step thru all works fine but when i run without any break points i get errors. i think problem is html page still not loaded yet when i ran command button click event.
is there any way program execution wont go to next line until page is loaded ?
Next
Reply
Map
View

Click here to load this message in the networking platform