Advertisement

Results for "Author: regx"

6_2008-2009 #205123
TreeView Extender Class

Extends the treeview class to add some functionality that in my opinion should be there by default such as Exist and ExpandAll. If you have had trouble working with the Treeview Control in the past you might want to give this a look. I will be adding drag drop capability to this and beefinging up the OO code. If you have any suggestions please let me know. Enjoy - RegX

6_2008-2009 #205124
RDOdbExample

Connect to any ODBC compliant db using RDO. by the way MySQL, Oracle, FoxPro, Excel, Access, Sybase are all ODBC compatible. Use this code to connect to Unix databases, Linux databases, etc. Very simple (easy to follow) code. If you would like to see the same in ADO, or want me to add DB creation/editing capabilities let me know. Currently you can just add, update and delete records as well as run queries. Please Vote, I stayed up late working on this. Comments positive and negative welcome.

6_2008-2009 #205125
File Email Extractor

Extracts valid email addresses (quickly) from local .txt,.rtf,.doc,.mdb,.xls files and more. Will scan entire drive recursively. Save list in different formats. Uses single regular expression and recursive dir scanner class. Please vote! If you do not like this program return it, and keep the recursive directory scanner as my gift to you.

6_2008-2009 #205126
resolve relative link

This is a simple function to resolve a relative link. ie turns www.a/b/c/../e.htm into www.a/b/e.htm Made this for a web crawler I am working on. Hope you find this usefull.

6_2008-2009 #205127
Winsock HTTP download class

Updated - now includes file download example This is a simple HTTP download class using WinSock. This class extracts the server name from the URL so all you say is wsc.geturl txturl. shows progress and parses the header object returned by the server and throws an error event on a bad response. The full header is made available. Currently this just downloads to memory using the cAppendString class since I just needed this for HTML parsing but it could easily be modified to save to a file. Enjoy and please Vote. Or comment or negativaly comment ............or don't.

6_2008-2009 #205128
FileTextXtractor

Extract Anything from anything. RegExps for email, phone numbers, creditcard#s and more included. Also includes link to regular expresion tutorial.

6_2008-2009 #205134
File Email Extractor 1.0.6

Extracts valid email addresses (quickly) from local .txt,.rtf,.doc,.mdb,.xls,.zip files and more automatically removing duplicates. Will scan entire drive recursively. Combine sort and edit and save list to several formats. Uses single regular expression and recursive dir scanner class. Please vote!!! If you do not like this program return it, and keep the recursive directory scanner as my gift to you. Added ini.bas so extention list is persistant. Now recognizes .*** extension for all files. Also added documentaion for dirscanner class. Fixed a few bugs. I will add resizing support soon. Resizing code is lame, so I wrote a module to do it, but the module scales controls relatively to the form wich isn't as pretty as when it is hardcoded so controls are relative to each other. I am working on an addin to do this, but I am new to addins. Any help would be greatly appreciated.

7_2009-2012 #227633
PSCMonitor v5

Monitor your PSC submissions. Keeps track of new views/votes since last open. Since this downloads text only it actually lessens load on PSC. Shows how to: 1. download and parse html (winsock and regx) 2. save and load program state 3. use listview control 4. use regular expresions 5. use dictionary object (MS associative array) 6. use OO class modules 7. how to use fast cappendstring class And much more! Includes 3 very usefull class modules for appending strings(fast), running regular expressions on the fly, and downloading webpages. Code is commented feel free to ask questions, or post comments and teach me a thing or two.

7_2009-2012 #227634
EmailExtractor1

Crawls through urls extracting unique Email addresses as it goes. This version only follows href tags, and does limited relative path to full path conversion i.e it does not properly folow relative links having ../ I will post a new version soon that extracts all urls and has better relative path support. Code is heavily commented and Shows how to use: regular expressions inet control dictionary objects listboxes

7_2009-2012 #227635
ezUndoRedo

This is a simple class module with examples to add undo/redo functionality to an RichTextBox control. I say simple because there are many ways to implement undo/redo stacks. This is probably the simplest aproach using a single collection for the stack. Other methods include using an array as a stack which is more efficient and seperate undo/redo stacks using either arrays or collections. I used the simplest appraoch here because this is my first class module. If you like it please vote, and if you want to see changes please let me know. This class is very simple to use - see examples.

7_2009-2012 #227636
FastHTML/XML Highlight

Highlights HTML and XML properly You can Highlight all text or just selected text and highlights syntax as you type. Will parse standard size files 10-60k instantly 500k files in about 6 seconds. Now you can easily change the colors thanks to M.Bartlema A much faster version is on the way! By the way, If you are wondering why this highlighter is so much faster and supports syntax better than most post here the answer is Regular Expressions. M.Bartlema was able to speed his code up 3 times by replacing a single VBReplace with a regExp. His code is currently faster than mine by the way. We hope to post a regExp tutorial in the near future that will blow your minds in two ways. 1. A single regExp can replace a lot of code 2. They scream!!! A small example? ok this regEx replace highlights all HTML tags one color. tmpstr = ReplaceText("(]+>)", "\plain\f2\fs17\cf1 $1\plain\f2\fs17\cf0 ", tmpstr) Of course this assumes that you have a color table in the rtf with 2 colors. Any other way is a waste of time - literally!

7_2009-2012 #227637
Fast HTML highlite7

HTML syntax highlite using regular expressions This is meant as a regular expressions tutorial. This new version contains an extra form with Heavy commenting. Will properly highlight syntax that stumps most syntax highlighters. Also includes inline syntax highlighting although this isn't nearly as good as the main colorHTML funtion. I have also added a button that runs the regular expression without highlighting the rtf text. I added this because people have complained that this code isn't that fast. The regular expresions are very fast. Selecting the text and changing the color in the rtf box is what is slow. Of all the html syntax highlighters I have seen posted here this is the Fastest accept for one that writes raw rtf to a file. I have been playing with this to see if I can speed this one up the same way. Comments and suggestions welcome. and Please Vote.

7_2009-2012 #227638
Super Fast HTML-XML Highlighting

Highlights HTML/XML syntax using Regular expressions and extracts Tag Names and properties. This version utilizes the cappendstring class to speed up concatenations. Thanks to M.Bartlema for opening my eyes to this wonderful class and for the great rtf color module! This version writes raw RTF so it is very FAST!!! Actually, if you only need to highlight all the text the regx speed can be almost doubled so let me know. Here I wanted to use the same regx for inline highlighting so it needed to properly highlight partial tag selections. The only propblem I know of with this regx is that it wont properly highlight a comment if it immediatly follows another tag without spaces i.e. . I am working on it, but I don't want to slow down the regx. Anyway, this one is good enough for most production code. Enjoy, and please vote if you like this code.

7_2009-2012 #227639
PSCmonitor

Monitor your submissions on PSC. This code will let you know when someone votes for one of your programs. Demonstrates: 1. Using the listview 2. Parsing HTML using regular expressions 3. Writing ini file - includes easy to use ini.bat and more. If you like this code, PLEASE VOTE. Note: although it is cool to set the refresh very low, doing so puts unneeded stress on PSC. If you use this app often please set the refresh to the highest setting.

7_2009-2012 #227640
SplitBar

This control makes it very easy to add a horizontal split bar to your application. Eventually this control will include vertical splitbars as well. To use this control: 1. Place the control on a form. 2. Place controls above and below the splitbar control. This control needs at least one control above it and one control below it to function. The idea is that instead of using code to set the maximum and minimum scrolling positions controls are used instead. This makes it easy to visualize the range of motion for the control. Also, you can reposition the controls in response to form resize events, and the splitbar will use the new positions. Controls that are used only for setting splitbar ranges can be hidden at run time. In the future I will probaly change this so that the splitbar uses its current position for the maximum top or maximum bottom position if no controls are added to the top or bottom. 3. In the form load event add references to the controls to the splitbar using the AddControlTop and AddControlBottom events. i.e. splitbar1.AddControlTop Text1 splitbar1.AddControlBottom Text2 splitbar1.Update Calling splitbar.Update will align the bottom of all TopControls controls with the top of the splitbar and the tops of the BottomControls to the bottom of the splitbar. Known bugs. 1. Currently the splitbar control brings itself to the top when a user moves it. This was intended to make using the control easier, but it will hide any labels contained in the control. I think thats it, if you find more please let me know. Also, please send me any ideas you may have to make this control better.

7_2009-2012 #227641
TreeView Extender Class

Extends the treeview class to add some functionality that in my opinion should be there by default such as Exist and ExpandAll. If you have had trouble working with the Treeview Control in the past you might want to give this a look. I will be adding drag drop capability to this and beefinging up the OO code. If you have any suggestions please let me know. Enjoy - RegX

7_2009-2012 #227642
RDOdbExample

Connect to any ODBC compliant db using RDO. by the way MySQL, Oracle, FoxPro, Excel, Access, Sybase are all ODBC compatible. Use this code to connect to Unix databases, Linux databases, etc. Very simple (easy to follow) code. If you would like to see the same in ADO, or want me to add DB creation/editing capabilities let me know. Currently you can just add, update and delete records as well as run queries. Please Vote, I stayed up late working on this. Comments positive and negative welcome.

7_2009-2012 #227643
File Email Extractor

Extracts valid email addresses (quickly) from local .txt,.rtf,.doc,.mdb,.xls files and more. Will scan entire drive recursively. Save list in different formats. Uses single regular expression and recursive dir scanner class. Please vote! If you do not like this program return it, and keep the recursive directory scanner as my gift to you.

7_2009-2012 #227644
resolve relative link

This is a simple function to resolve a relative link. ie turns www.a/b/c/../e.htm into www.a/b/e.htm Made this for a web crawler I am working on. Hope you find this usefull.

7_2009-2012 #227645
Winsock HTTP download class

Updated - now includes file download example This is a simple HTTP download class using WinSock. This class extracts the server name from the URL so all you say is wsc.geturl txturl. shows progress and parses the header object returned by the server and throws an error event on a bad response. The full header is made available. Currently this just downloads to memory using the cAppendString class since I just needed this for HTML parsing but it could easily be modified to save to a file. Enjoy and please Vote. Or comment or negativaly comment ............or don't.

Languages
Top Categories
Global Discovery