The wrapper is just an HTTPRequest/Response wrapper with multithreading (the program won't stop running while downloading a page) and gZip support. It can also be a login panel if you set the "Visual Style" Property to LoginBox, but it can also just be a common wrapper. RickysWrapper 1.0.0 Features: Visual Style (Login Panel / Wrapper only) Included Login OCR Scan Proxy Support gZip Streaming Decompression Changeable UserAgent Threaded Get/Post Requests RickysModule 1.0.1 Features: GetBetween: Code (vb.net): <div class="vbnet" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">strString = GetBetween<span style="color: #000000;">(</span>strHTML, <span style="color: #808080;">"<HTML>"</span>, <span style="color: #808080;">"</HTML>"</span><span style="color: #000000;">)</span></li></ol></div> MatchAll: Code (vb.net): <div class="vbnet" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;"><span style="color: #0600FF;">Dim</span> arrLinks<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #FF8000;">as</span> <span style="color: #FF8000;">String</span></li><li style="padding: 0 5px; background-color: #f9f9f9; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">arrLinks = MatchAll<span style="color: #000000;">(</span>strHTML, <span style="color: #808080;">"<a href="</span> & <span style="color: #0600FF;">ChrW</span><span style="color: #000000;">(</span><span style="color: #FF0000;">34</span><span style="color: #000000;">)</span>, <span style="color: #0600FF;">ChrW</span><span style="color: #000000;">(</span><span style="color: #FF0000;">34</span><span style="color: #000000;">)</span> & <span style="color: #808080;">" >"</span><span style="color: #000000;">)</span></li></ol></div> FileExists: Code (vb.net): <div class="vbnet" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;"><span style="color: #0600FF;">If</span> FileExists<span style="color: #000000;">(</span>strPath<span style="color: #000000;">)</span> = <span style="color: #0600FF;">True</span> <span style="color: #FF8000;">Then</span>...</li></ol></div> FolderExists: Code (vb.net): <div class="vbnet" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;"><span style="color: #0600FF;">If</span> FolderExists<span style="color: #000000;">(</span>strPath<span style="color: #000000;">)</span> = <span style="color: #0600FF;">True</span> <span style="color: #FF8000;">Then</span>...</li></ol></div> LoadList: Code (vb.net): <div class="vbnet" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">LoadList<span style="color: #000000;">(</span>lstItems<span style="color: #000000;">)</span></li></ol></div> *Note: This function has a built-in OpenFileDialog, so you don't need any external path SaveList: Code (vb.net): <div class="vbnet" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">SaveList<span style="color: #000000;">(</span>lstLog<span style="color: #000000;">)</span></li></ol></div> *Note: This function has a built-in SaveFileDialog, so you don't need any external path RemoveDupes: Code (vb.net): <div class="vbnet" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;"><span style="color: #0600FF;">MsgBox</span><span style="color: #000000;">(</span><span style="color: #808080;">"Removed "</span> & RemoveDupes<span style="color: #000000;">(</span>lstItems<span style="color: #000000;">)</span> & <span style="color: #808080;">" duplicates"</span><span style="color: #000000;">)</span></li></ol></div> Wait: Code (vb.net): <div class="vbnet" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">Wait<span style="color: #000000;">(</span><span style="color: #FF0000;">1000</span><span style="color: #000000;">)</span></li></ol></div> *Note: The expression is in ms (milliseconds) MakeRandom: Code (vb.net): <div class="vbnet" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">lngRandom = MakeRandom<span style="color: #000000;">(</span><span style="color: #FF0000;">10</span>, <span style="color: #FF0000;">100</span><span style="color: #000000;">)</span></li></ol></div> ParseLeft: Code (vb.net): <div class="vbnet" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">strString = ParseLeft<span style="color: #000000;">(</span>strHTML, <span style="color: #808080;">"</div>"</span><span style="color: #000000;">)</span></li></ol></div> ParseRight: Code (vb.net): <div class="vbnet" id="{CB}" style="font-family: monospace;"><ol><li style="padding: 0 5px; background-color: #fff; line-height: 16px; border-bottom: 1px solid #efefef; border-left: 1px solid #999;">strString = ParseRight<span style="color: #000000;">(</span>strHTML, <span style="color: #808080;">"<div>"</span><span style="color: #000000;">)</span></li></ol></div>
Nice module, i never thought of combining all my functions into a module. What about parseright and parseleft? Not sure if you use those but they're useful for me. + rep
Do you mean the functions like Left() and Right() in vb6? They still exists, just use Microsoft.VisualBasic.Left() and Microsoft.VisualBasic.Right()...
Yeah, its probably the same thing. Parseright and parseleft delete code to the left and right of a specified word.
Oh so they are different from left() and right()? I can post the ones i use if a want so you can add them
Here they are: Code (Text): Public Function ParseLeft(ByVal strSource As String, ByVal strEnd As String) As String Return Microsoft.VisualBasic.Left(strSource, strSource.IndexOf(strEnd)) End Function Public Function ParseRight(ByVal strSource As String, ByVal strStart As String) As String Return Microsoft.VisualBasic.Right(strSource, strSource.Length - strSource.IndexOf(strStart) - strStart.Length) End Function I'll add them to the module...
yes, i am pretty sure that they are the same thing, and getbetweenall (or something like that, i dont use it) is also the same.
I'm really sorry, I must be retarded or something, because I can't find the download link? I bet there's a huge "DOWNLOAD ME" button somewhere on this page...
Yeah wondering the same thing... Can you post this module again? Would save me the time of writing each of these methods myself..