OleCheck(doc->getElementById(WideString("kay_cev"), &elem)) If (elem) OleCheck(elem->setAttribute(WideString("value"), TVariant(Edit2->Text))) OleCheck(doc->getElementById(WideString("okul_kod"), &elem)) _di_IHTMLDocument3 doc = CppWebBrowser1->Document Typedef DelphiInterface _di_IHTMLElement Typedef DelphiInterface _di_IHTMLDocument3 could alternatively use TComInterface instead of DelphiInterface helpers for interface reference counting Its Document property returns an IDispatch that you can use to gain access to IE's raw DOM interfaces directly (whereas Visual C++ appears to have wrapped those interfaces a little more nicely for you). In C++Builder 6, its TCppWebBrowser VCL component is a thin wrapper for Internet Explorer's ActiveX control.
0 Comments
Leave a Reply. |