Home > Back-end >  Problem solving CppWebBrowser use
Problem solving CppWebBrowser use

Time:09-17

C + + builder6 now, doing a program that can access the web page, the following is an HTML page, how to do??





<meta charset="utf-8" & gt;
<meta HTTP - equiv="X-ray UA - Compatible"
The content="IE=edge" & gt;
<meta name="viewport" content="initial - scale=1.0,
User - scalable=no, width=device - width & gt;"
<link rel="stylesheet"
Href="https://a.amap.com/jsapi_demos/static/demo-
Center/CSS/demo - center. CSS/& gt; ""
The map shows & lt;/title> <br/><style> <br/>HTML, <br/>Body, <br/># container {<br/>width: 100%; <br/>height: 100%; <br/>} <br/></style> <br/></head> <br/><body> <br/><Div id="container" & gt; </div> <br/><! - loading map JSAPI script - & gt; <br/><script SRC="https://bbs.csdn.net/topics/https:/www.baidu.com" & gt; </script> <br/><script> <br/>Var map=new AMap. The map (' container '{<br/>Whether resizeEnable: true,//monitor map container size <br/>Change <br/>Zoom: 11,//initializes the map hierarchy <br/>Center: [116.397428, 39.90923]//initializes the map <br/>Center <br/>}); <br/></script> <br/></body> <br/></html><p class="article - content rp"> CodePudding user response: </p>Or use javascript to do 6 cppwebbrowser is too old<p class="article - content rp"> CodePudding user response: </p>Or use indyHttml<p class="article - content rp"> CodePudding user response: </p>Can be like this: <br/><br/>String T_AWOR=L "http://bbs.csdn.net/home";//into your own web page <br/>CppWebBrowser1 - & gt; Navigate ((T_AWOR). W_str ());<p class="article - content rp"> CodePudding user response: </p>Bcb6.0 long useless, <br/>CppWebBrowser1 - & gt; Navigate (" http://bbs.csdn.net/home "); </div> <div class="th_page th_page_color"></div> <div class="umCopyright"> <p>Page link:<a href="/Backend/5534.html" target="_blank" style="color:#999">https//www.codepudding.com/Backend/5534.html</a></p> </div> <div class="detail-arr"> <div class="detail-arr-left">Prev:<a href='/Backend/5533.html'>Computer books are declining, I here bookstore were computer books are pulled from the shelves</a></div> <div class="detail-arr-right">Next:<a href='/Backend/5535.html'>LNK2001: cannot resolve the external symbol of "public: virtual struct CRuntimeClass *</a></div> </div> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="hot-tags neitags"> <ul> <li><i class="iconfont icon-x-tags"></i> Tags:  </li> <a href='/e/tags/?tagname=The+base+class' target='_blank'>The base class</a> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="xiangguan"> <ul class="msg msghead"> <li class="tbname">Related</li> </ul> <ul> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="flinks"> <ul> <li><i class="iconfont icon-x-tags"></i> Links:  </li> <li class="liflinks"><a target="_blank" href="/" title="CodePudding">CodePudding</a></li> </ul> </div> </div> </div> </div> <div class="footer"> <p><span style="font-size:16px;color:#666;font-weight: bold">About Us:</span>  <a href="https://www.codepudding.com/contact.html">Contact Us</a>      <a href="https://www.codepudding.com/service.html">Terms of Service</a>      <a href="https://www.codepudding.com/privacy.html"> Privacy Policy</a></p> <p class="foot_info">Copyright © 2010-2023,Powered By <a href="/" target="_blank">CodePudding</a> </p> </div> <script type="text/javascript" src="/skin/code/tianhu.js"></script> </body></html>