C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter
There's just no reason to use garbage like InputBox. - jmcilhinney
The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber
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
C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter
There's just no reason to use garbage like InputBox. - jmcilhinney
The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber
I don't have any problems with the bug or the cantaloupe. Hope that doesn't make you too meloncholy!
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
Happy ? What does that word mean ? Is that something to eat ?
Seriously though, it's positioned badly. It should be under the user name itself. The user name, title and the "thread starter" are close together so they should have a consistent order from largest to smallest. Generally that looks better. The user name has the largest font and is bolded, followed by the "thread starter" which is smaller but bolded and then the title which has the smallest font and is not bolded.
This: Happy Happy
Happy
Looks better than: Happy
Happy Happy
The first one has a symmetrical look to it which is more aesthetically pleasing.
Because that was in the Forum Feedback section, I wanted to post this:
C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter
There's just no reason to use garbage like InputBox. - jmcilhinney
The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber
"Duck Commander is both the name of a best-selling duck call and the name of the West Monroe, Louisiana based company which produces them and other duck hunting related merchandise as well as deer hunting merchandise under the Buck Commander name.
The company was founded by Phil Robertson. A star quarterback at Louisiana Tech (playing ahead of future Hall of Famer Terry Bradshaw), Robertson had offers to play in the NFL but turned them down since he didn't want to miss duck season, or face the stress of having people trying to tackle him. He began his business in a dilapidated shed, where he spent 25 years making duck calls from Louisiana cedar trees." - wiki
"Phil is known for his dislike of modern technology (he proudly admits that he does not own a cellphone or a computer)"
Well there you go, a show for royal Luddites; what will they come down with next? :-/
All men have an inherent right to life, the right to self determination including freedom from forced or compulsory labour, a right to hold opinions and the freedom of expression, and the right to a fair trial and freedom from torture. Be aware that these rights are universal and inalienable (cannot be given, taken or otherwise transferred or removed) although you do risk losing the aforementioned rights should you fail to uphold them e.g Charles Taylor; United Nations sources: http://www.un.org/en/documents/udhr/, http://www.ohchr.org/EN/Professional...ages/CCPR.aspx. Also Charles I was beheaded on the 30th of January of 1649 for trying to replace parliamentary democracy with an absolute monarchy, the same should happen to Dr Phil and Stephen Fry; source: http://www.vbforums.com/showthread.p...ute-Monarchism.
Ah, dday9, spoken like a true Dauphine of France; I did not geaux to, I had to work on another project which was just about ready after 4-5 years, and it is still taking a lot of my time, although I think it should be over very soon. \(°.°)/
All men have an inherent right to life, the right to self determination including freedom from forced or compulsory labour, a right to hold opinions and the freedom of expression, and the right to a fair trial and freedom from torture. Be aware that these rights are universal and inalienable (cannot be given, taken or otherwise transferred or removed) although you do risk losing the aforementioned rights should you fail to uphold them e.g Charles Taylor; United Nations sources: http://www.un.org/en/documents/udhr/, http://www.ohchr.org/EN/Professional...ages/CCPR.aspx. Also Charles I was beheaded on the 30th of January of 1649 for trying to replace parliamentary democracy with an absolute monarchy, the same should happen to Dr Phil and Stephen Fry; source: http://www.vbforums.com/showthread.p...ute-Monarchism.
C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter
There's just no reason to use garbage like InputBox. - jmcilhinney
The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber
I really should check the last couple of pages to see what mischief you have been getting into Peter while I have been away... °o°
All men have an inherent right to life, the right to self determination including freedom from forced or compulsory labour, a right to hold opinions and the freedom of expression, and the right to a fair trial and freedom from torture. Be aware that these rights are universal and inalienable (cannot be given, taken or otherwise transferred or removed) although you do risk losing the aforementioned rights should you fail to uphold them e.g Charles Taylor; United Nations sources: http://www.un.org/en/documents/udhr/, http://www.ohchr.org/EN/Professional...ages/CCPR.aspx. Also Charles I was beheaded on the 30th of January of 1649 for trying to replace parliamentary democracy with an absolute monarchy, the same should happen to Dr Phil and Stephen Fry; source: http://www.vbforums.com/showthread.p...ute-Monarchism.
Wow Witis is back. Gotta start posting moar mermaids!!!
Moar, why not? Bring on teh pixies!
All men have an inherent right to life, the right to self determination including freedom from forced or compulsory labour, a right to hold opinions and the freedom of expression, and the right to a fair trial and freedom from torture. Be aware that these rights are universal and inalienable (cannot be given, taken or otherwise transferred or removed) although you do risk losing the aforementioned rights should you fail to uphold them e.g Charles Taylor; United Nations sources: http://www.un.org/en/documents/udhr/, http://www.ohchr.org/EN/Professional...ages/CCPR.aspx. Also Charles I was beheaded on the 30th of January of 1649 for trying to replace parliamentary democracy with an absolute monarchy, the same should happen to Dr Phil and Stephen Fry; source: http://www.vbforums.com/showthread.p...ute-Monarchism.
The whole tree??? That must be hard to carry with you.
and take a really big homo to blow it properly. ♭
All men have an inherent right to life, the right to self determination including freedom from forced or compulsory labour, a right to hold opinions and the freedom of expression, and the right to a fair trial and freedom from torture. Be aware that these rights are universal and inalienable (cannot be given, taken or otherwise transferred or removed) although you do risk losing the aforementioned rights should you fail to uphold them e.g Charles Taylor; United Nations sources: http://www.un.org/en/documents/udhr/, http://www.ohchr.org/EN/Professional...ages/CCPR.aspx. Also Charles I was beheaded on the 30th of January of 1649 for trying to replace parliamentary democracy with an absolute monarchy, the same should happen to Dr Phil and Stephen Fry; source: http://www.vbforums.com/showthread.p...ute-Monarchism.