Versions des environnements
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 ?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement