http://img4.southernliving.com/i/201...-x.jpg?500:500
Printable View
Oh God....I'm salivating!!!
Pears are too gritty - they need to correct that and all would be fine :)
By the way, I just calculated the total memory being used to store the attachments in this thread: 19,132 KB -or- 18.683594 MB.
The way I did it was:
1) Set up a new windows form application
2) Add a WebBrowser
3) Set the URL to http://www.vbforums.com/misc.php?do=...hments&t=31871
4) Add a button
5) Generate the button's click event
6) Imported RegEx
7) Set up a function
Here is the total code:
Code:Imports System.Text.RegularExpressions
Public Class Form1
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim i As Double = 0
For Each ele As HtmlElement In WebBrowser1.Document.All
If ele.GetAttribute("className") = "size" Then
Dim txt As String = ele.InnerText
Dim int As Double = Num(txt)
i += CInt(int)
End If
Next
MessageBox.Show(i.ToString)
End Sub
Private Shared Function Num(ByVal value As String) As Double
Dim returnVal As String = String.Empty
Dim collection As MatchCollection = Regex.Matches(value, "[0-9]+(?:\.[0-9]*)?")
For Each m As Match In collection
returnVal &= m.ToString()
Next
Return Decimal.Parse(returnVal)
End Function
End Class
If y'all can find anything wrong with it, that'll be nice. 19,132 KB is a lot of memory!
So what happens to you when you go to that page you linked - the one with all the attachments - and you click on the CANTALOUPE one??
All pics I posted in this thread were linked off-site. Saves attachment space from being consumed.
I get this
I get the same thing to whenever I try to open my bug link.
Not 'bugged' link, but the bug in my signature. This url:
http://www.vbforums.com/attachment.p...3&d=1373310493
I always report that this site is safe to MS.
By the way Niya, you're about to pass me up in post!
I've been slowed down because I've been studying for my Life & Health license.