Advertisement

05.30.2004 at 08:19PM PDT, ID: 21007594
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

Read HTML table data using Visual Basic

Asked by mikekwok in Hypertext Markup Language (HTML)

Tags: ,

I have the following HTML and I would like to read the value "Stock" and  value of "T+2NetQty" and store it in array.That is: stkcode(0) = "00432" , Qty(0) = "1,000" , stkcode(1)="00500",Qty(1)="5,000". Would somebody please teach me how to do so ?
I have similar question here : http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_20904892.html

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Cache-Control" content="no-cache">
<!--META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=iso-8859-1'-->
</head>
<body>
<table width="100%" border="1" height="100%" bgcolor="#cccccc">
<tbody>
<tr>
<td height="200" colspan="3">
<table width="100%" border="0" height="100%" cellpadding="0"
cellspacing="0">
<tbody>
<tr bgcolor="#9999ff">
<td bgcolor="#9999ff" height="17%" nowrap="nowrap"
width="50%"><b>Client Code</b><b> <input type="text" name="ClientCode"
value="" disabled="disabled"><input type="text" name="ClientName"
size="30" value="" disabled="disabled"></b></td>
<td height="17%" bgcolor="#9999ff" nowrap="nowrap"
width="25%"><b>Client Type:<input type="text" name="ClientType"
size="10" value="Cash" disabled="disabled"> </b></td>
<td height="17%" bgcolor="#9999ff" nowrap="nowrap"
width="25%"><b>AECode: <input type="text" name="AECode" size="10"
value="" disabled="disabled"></b></td>
<td width="0%">&nbsp;</td>
<td width="0%">&nbsp;</td>
</tr>
<tr>
<td colspan="3" height="16%">
<table width="100%" border="0" cellpadding="0"
cellspacing="0" height="100%">
<tbody>
<tr>
<td width="5%">&nbsp;</td>
<td width="17%">T Opening Cash Bal:</td>
<td width="17%"><input type="text" name="OpenCash"
value="103,802.06" disabled="disabled"></td>
<td width="61%">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
<td height="20" width="0%">&nbsp;</td>
<td height="20" width="0%">&nbsp;</td>
</tr>
<tr>
<td colspan="3" height="16%">
<table width="100%" border="0" cellpadding="0"
cellspacing="0" height="100%">
<tbody>
<tr>
<td width="5%">&nbsp;</td>
<td width="17%">T Cash Out:</td>
<td width="17%"><input type="text" name="CashOut"
value="0.00" disabled="disabled"></td>
<td width="61%">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
<td height="20" width="0%">&nbsp;</td>
<td height="20" width="0%">&nbsp;</td>
</tr>
<tr>
<td colspan="3" height="16%">
<table width="100%" border="0" cellpadding="0"
cellspacing="0" height="100%">
<tbody>
<tr>
<td width="5%">&nbsp;</td>
<td width="17%">T + 1 Cash Bal:</td>
<td width="17%"><input type="text" name="T1Bal"
value="144,450.78" disabled="disabled"></td>
<td width="61%">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
<td height="20" width="0%">&nbsp;</td>
<td height="20" width="0%">&nbsp;</td>
</tr>
<tr>
<td colspan="3" height="16%">
<table width="100%" border="0" cellpadding="0"
cellspacing="0" height="100%">
<tbody>
<tr>
<td width="5%">&nbsp;</td>
<td width="17%">T + 2 Cash Bal:</td>
<td width="17%"><input type="text" name="T2Bal"
value="144,450.78" disabled="disabled"></td>
<td width="61%">&lt;= Inc. Today's Net B/S Gross
Amount.</td>
</tr>
</tbody>
</table>
</td>
<td height="20" width="0%">&nbsp;</td>
<td height="20" width="0%">&nbsp;</td>
</tr>
<tr>
<td colspan="3" height="16%">
<table width="100%" border="0" cellpadding="0"
cellspacing="0" height="100%">
<tbody>
<tr>
<td width="5%">&nbsp;</td>
<td width="17%">Short Stk Cash Adj:</td>
<td width="17%"><input type="text" name="ShortStock"
value="0.00" disabled="disabled"></td>
<td width="61%">&lt;= Sum (Short Stock Qty * Cls
Price)</td>
</tr>
</tbody>
</table>
</td>
<td height="20" width="0%">&nbsp;</td>
<td height="20" width="0%">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td height="200" colspan="3">
<table width="100%" border="0" height="100%" cellpadding="1"
cellspacing="1">
<tbody>
<tr>
<td height="16%" width="8%">&nbsp;</td>
<td height="16%" width="8%">&nbsp;</td>
<td width="9%" height="16%">&nbsp;</td>
<td width="9%" height="16%">&nbsp;</td>
<td width="12%" height="16%">&nbsp;</td>
<td width="8%" height="16%">&nbsp;</td>
<td width="12%" height="16%">&nbsp;</td>
<td width="5%" height="16%">&nbsp;</td>
<td colspan="3" height="16%">
<div align="left"><b>Today's Pending Order</b></div>
</td>
</tr>
<tr bgcolor="#9999ff">
<td height="16%">
<div align="center">Stock</div>
</td>
<td height="16%">
<div align="center">T Qty</div>
</td>
<td height="16%">
<div align="center">T+1Settle</div>
</td>
<td height="16%">
<div align="center">T+2Settle</div>
</td>
<td height="16%">
<div align="center">T+2NetQty</div>
</td>
<td height="16%" bgcolor="#9999ff">
<div align="center">ClsPrice </div>
</td>
<td height="16%">
<div align="center">T+2MarketValue</div>
</td>
<td height="16%">
<div align="center">Mrgn%</div>
</td>
<td height="16%" width="12%">
<div align="center">AcceptyMargin </div>
</td>
<td height="16%" width="12%">
<div align="center">Buy</div>
</td>
<td height="16%" width="12%">
<div align="center">Sell</div>
</td>
</tr>
<tr bgcolor="#9999ff">
<td height="16%">
<div align="center">00432</div>
</td>
<td height="16%">
<div align="center">1,000</div>
</td>
<td height="16%">
<div align="center">0</div>
</td>
<td height="16%">
<div align="center">0</div>
</td>
<td height="16%">
<div align="center">1,000</div>
</td>
<td height="16%">
<div align="center">2.500</div>
</td>
<td height="16%">
<div align="center">2,500</div>
</td>
<td height="16%">
<div align="center">0</div>
</td>
<td height="16%">
<div align="center">0</div>
</td>
<td height="16%">
<div align="center">0</div>
</td>
<td height="16%">
<div align="center">0</div>
</td>
</tr>
<tr bgcolor="#9999ff">
<td height="16%">
<div align="center">00500</div>
</td>
<td height="16%">
<div align="center">25,000</div>
</td>
<td height="16%">
<div align="center">-20,000</div>
</td>
<td height="16%">
<div align="center">0</div>
</td>
<td height="16%">
<div align="center">5,000</div>
</td>
<td height="16%">
<div align="center">2.100</div>
</td>
<td height="16%">
<div align="center">10,500</div>
</td>
<td height="16%">
<div align="center">0</div>
</td>
<td height="16%">
<div align="center">0</div>
</td>
<td height="16%">
<div align="center">0</div>
</td>
<td height="16%">
<div align="center">0</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td height="200" colspan="3">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
height="100%">
<tbody>
<tr bgcolor="#9999ff">
<td colspan="7" height="11%" width="100%"><b>Trading Limit
Available:</b></td>
</tr>
<tr>
<td height="11%" width="2%">&nbsp;</td>
<td height="11%" align="left" width="15%">T + 2 Cash Bal: </td>
<td height="11%" width="10%"><input type="text"
name="T2Bal1" value="144,450.78" disabled="disabled"></td>
<td height="11%" width="5%">X</td>
<td height="11%" width="10%"><input type="text"
name="T2Bal2" size="10" value="1.00" disabled="disabled"></td>
<td height="11%" width="5%">=</td>
<td height="11%"><input type="text" name="T2Bal3"
value="144,450.78" disabled="disabled"></td>
</tr>
<tr>
<td height="11%">&nbsp;</td>
<td height="11%" align="left">Marginable Stk Value:</td>
<td height="11%"><input type="text" name="MarginVal1"
value="0.00" disabled="disabled"></td>
<td height="11%" width="5%">X</td>
<td height="11%" width="10%"><input type="text"
name="MarginVal2" size="10" value="0.00" disabled="disabled"></td>
<td height="11%" width="5%">=</td>
<td height="11%"><input type="text" name="MarginVal3"
value="0.00" disabled="disabled"></td>
</tr>
<tr>
<td height="11%">&nbsp;</td>
<td height="11%" align="left">Non-M'ble Stk Value:</td>
<td height="11%"><input type="text" name="NonMakVal1"
value="13,000.00" disabled="disabled"></td>
<td height="11%" width="5%">X</td>
<td height="11%" width="10%"><input type="text"
name="NonMakVal2" size="10" value="0.00" disabled="disabled"></td>
<td height="11%" width="5%">=</td>
<td height="11%"><input type="text" name="NonMakVal3"
value="0.00" disabled="disabled"></td>
</tr>
<tr>
<td height="11%">&nbsp;</td>
<td height="11%" align="left">Short Stk Cash Adj:</td>
<td height="11%"><input type="text" name="ShortCash1"
value="0.00" disabled="disabled"></td>
<td height="11%" width="5%">X</td>
<td height="11%" width="10%"><input type="text"
name="ShortCash2" size="10" value="1.00" disabled="disabled"></td>
<td height="11%" width="5%">&nbsp;</td>
<td height="11%"><input type="text" name="ShortCash3"
value="0.00" disabled="disabled"></td>
</tr>
<tr>
<td height="11%">&nbsp;</td>
<td height="11%" align="left">Pending Buy Order:</td>
<td height="11%"><input type="text" name="Pending1"
value="0.00" disabled="disabled"></td>
<td colspan="2" height="11%" width="15%">=&gt;</td>
<td height="11%" width="5%">&nbsp;</td>
<td height="11%"><input type="text" name="Pending3"
value="0.00" disabled="disabled"></td>
</tr>
<tr>
<td height="11%">&nbsp;</td>
<td height="11%" align="left">Credit Limited: </td>
<td height="11%"><input type="text" name="CreditLimit1"
value="0.00" disabled="disabled"></td>
<td colspan="2" height="11%" width="15%">=&gt;</td>
<td height="11%" width="5%">&nbsp;</td>
<td height="11%"><input type="text" name="CreditLimit3"
value="0.00" disabled="disabled"></td>
</tr>
<tr>
<td height="11%">&nbsp;</td>
<td height="11%" align="left">Day Trade Limited</td>
<td height="11%"><input type="text" name="DayTrade1"
value="0.00" disabled="disabled"></td>
<td colspan="2" height="11%" width="15%">=&gt;</td>
<td height="11%" width="5%">&nbsp;</td>
<td height="11%"><input type="text" name="DayTrade3"
value="0.00" disabled="disabled"></td>
</tr>
<tr>
<td height="11%">&nbsp;</td>
<td height="11%" width="20%" align="left">&nbsp;</td>
<td colspan="3" height="11%">
<div align="left"><b>Order Size Limit:</b></div>
</td>
<td height="11%" width="5%">&nbsp;</td>
<td height="11%"><input type="text" name="OrderSize"
value="144,450.78" disabled="disabled"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>

Start Free Trial
[+][-]05.31.2004 at 07:28AM PDT, ID: 11196695

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.31.2004 at 07:31AM PDT, ID: 11196710

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.02.2004 at 12:11PM PDT, ID: 11215786

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.02.2004 at 07:39PM PDT, ID: 11218541

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Hypertext Markup Language (HTML)
Tags: html, table
Sign Up Now!
Solution Provided By: mikekwok
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.11.2004 at 07:26AM PDT, ID: 11288929

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32