Hi Mike and John,
Thanks for
Indeed the problem is that the object was not rendered yet.The code that I used to check this was :
DO WHILE THISFORM.oWebBrowser.busy()
DOEVENTS
ENDDO
Seemingly this code doesn't work. Instead I use John's code now that checks if the object exists and works fine now.
I don't understand why the above code doesn't work. It work fine using OLE automation.
Could someone explain this to me.
Thank you.
Zakaria al Azhar