Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1528

vb6 add table rows webbrowser

$
0
0
Please Help
Add web page table lines

code html

HTML Code:

<html dir="rtl">

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>aa</title>
</head>

<body>

<div align="center">
        <table border="1" id="ss" cellpadding="0" style="border-collapse: collapse" width="13%" dir="rtl">
                <tr>
                        <td style="color: #FFFFFF" bgcolor="#669999">
                        <p align="center">name</td>
                </tr>
                <tr>
                        <td>&nbsp;</td>
                </tr>
                </table>
</div>

</body>

</html>

code vb

set table = WebBrowser1.document.getElementById("ss");


row = table.insertRow(0);


cell1 = row.insertCell(0);


cell1.innerHTML = "NEW CELL1";

Viewing all articles
Browse latest Browse all 1528

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>