Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to do this
Message
 
 
To
04/10/2007 15:50:56
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01258701
Message ID:
01258706
Views:
12
See Re: Display HTML In a VFP Form - How? Message #933781

>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 ?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform