Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my code:
- For Each el As HtmlElement In WebBrowser1.Document.GetElementsByTagName("td")
- Clipboard.SetText(Clipboard.GetText + vbNewLine + el.InnerText.ToString)
- Next
- My results: I get this in my clipboard but the program crashes with error "Object reference not set to an instance of an object."
- Starting Date:
- Ending Date:
- Search
- Starting Date:
- Ending Date:
- Date
- IP Address
- Email
- Status
- Actions
- 07/07/2010 7:12 am
- 69.235.30.121
- rick1q@yahoo.com
- Content Received.
- The HTML Code:
- <table width="100%" style="font-family: verdana;">
- <tr>
- <td style="font-weight: bold;">Date</td>
- <td style="font-weight: bold;">IP Address</td>
- <td style="font-weight: bold;">Email</td>
- <td style="font-weight: bold;">Status</td>
- <td style="font-weight: bold;">Actions</td>
- </tr>
- <tr style="background-color: #e9e9e9;">
- <td style="font-size: 11px;">07/07/2010 7:12 am</td>
- <td>69.235.30.121</td>
- <td><a href="mailto:rick1q@yahoo.com">rick1q@yahoo.com</a></td>
- <td id="status_410159">
- <img src="/webicons/folder_go.png"> Content Received.
- </td>
- <td id="action_410159">
- </td>
- </tr>
- <tr style="background-color: #F1F1F1;">
- <td style="font-size: 11px;">07/07/2010 7:36 pm</td>
- <td>174.26.142.176</td>
- <td><a href="mailto:alecjohn24@hotmail.com">alecjohn24@hotmail.com</a></td>
- <td id="status_411421">
- <img src="/webicons/folder_go.png"> Content Received.
- </td>
- <td id="action_411421">
- </td>
- </tr>
- <tr style="background-color: #e9e9e9;">
- <td style="font-size: 11px;">07/08/2010 8:35 am</td>
- <td>92.12.193.86</td>
- <td><a href="mailto:dean_456@hotmail.co.uk">dean_456@hotmail.co.uk</a></td>
- <td id="status_413408">
- <img src="/webicons/folder_go.png"> Content Received.
- </td>
- <td id="action_413408">
- </td>
- </tr>
- <tr style="background-color: #F1F1F1;">
- <td style="font-size: 11px;">07/08/2010 8:15 pm</td>
- <td>82.19.175.87</td>
- <td><a href="mailto:daxz737@live.co.uk">daxz737@live.co.uk</a></td>
- <td id="status_414639">
- <img src="/webicons/folder_go.png"> Content Received.
- </td>
- <td id="action_414639">
- </td>
- </tr>
- <tr style="background-color: #e9e9e9;">
- <td style="font-size: 11px;">07/08/2010 8:37 pm</td>
- <td>82.4.7.134</td>
- <td><a href="mailto:stuttard2002@hotmail.com">stuttard2002@hotmail.com</a></td>
- <td id="status_414997">
- <img src="/webicons/folder_go.png"> Content Received.
- </td>
- <td id="action_414997">
- </td>
- </tr>
- <tr style="background-color: #F1F1F1;">
- <td style="font-size: 11px;">07/08/2010 8:03 pm</td>
- <td>69.235.31.7</td>
- <td><a href="mailto:rick1q@yahoo.com">rick1q@yahoo.com</a></td>
- <td id="status_415649">
- <img src="/webicons/folder_go.png"> Content Received.
- </td>
- <td id="action_415649">
- </td>
- </tr>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement