I am trying to use TWebBrowser in an application like Console / Service (without any windows). Navigate definitely does something, but never calls onDocumentComplete. Is there any other way to access IHTMLDocument2 of some url?
Thank.
Before using an instance of TWebBrowser (for example, using Navigate2), call its HandleNeeded method. This will highlight the "invisible" parent window handle and eliminate any events.