Welcome Guest.   Make a donation to an author on the site December 21, 2014, 05:11:50 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2014! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: ReEx Builder and Path Editor  (Read 3519 times)
kevinjmills
Charter Member
***
Posts: 8


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« on: December 05, 2008, 01:55:01 PM »

Hi All,  Just wanted to share a couple of simple, but useful utilities that I've put together.  I'm the author of both programs and they are free to use donationware titles.  Screen shots courtesy of ScreenShot Captor (thanks Mouser!).  Both programs are written in C# and use .NET 2.0.  Neither program contains any adware, spyware, or any other malware, and do not attempt to surreptitiously connect to any websites.  Both are essentially portable, but do require the .NET 2.0 framework be installed.  Both were initially written more than a year ago, but have recently been overhauled and updated.  I hope you find one or both utilities useful.


RegEx Builder
The first offering is RegEx Builder.  I built this tool because I do not use regular expressions on a regular basis and so I end up "relearning" them every time I need one.  This utility makes it very simple to build expressions on an as needed basis, and to save expressions, and expression building blocks, for future use.  The key usability feature of RegEx Builder is that it evaluates your expression against target text in real-time as your are editing the expression, thus eliminating the old (and seemingly endless) edit-compiler-test development loop.  Another simple, but immensely useful feature is the ability to break the regular expression onto multiple lines for clarity.  Expressions under construction, target text, and options can be saved to and loaded from files.  A help file is included.




Path Editor

The second offering is Path Editor.  If you've ever needed to modify the system PATH environment variable on a Windows machine then you know how sub-optimal the built-in tools are.  In my professional software development life (the one that pays the mortgage) this is something that happens a lot due to the nature of the work.  Path Editor is just a friendly easy-to-use front end for editing the system and user PATH environment variables.  It supports full drag-and-drop operations to: rearrange items in either list; move items from one list to the other; and drop directories from dragged in from Windows Explorer into either list.




Above I stated that neither program connects surreptitiously to any website.  In the interest of full disclosure, each application will, if you choose, start a browser and go to my Paypal page for making donations.  This, of course, is entirely under your control.


Logged

--Kevin
mouser
First Author
Administrator
*****
Posts: 33,792



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: December 05, 2008, 01:59:09 PM »

Great to see you sharing your stuff with us Kevin  thumbs up thumbs up
Logged
housetier
Charter Honorary Member
***
Posts: 1,321


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #2 on: December 05, 2008, 04:41:21 PM »

Too bad RegEx Builder doesn't run with mono. I get this error message:

[copy or print]
housetier@io:~/.wine/drive_c/Programme/RegEx Builder$ mono RegExBuilder.exe
Unhandled Exception: System.ArgumentException: Value does not fall within the expected range.
  at System.Windows.Forms.Layout.TableLayout.CalculateControlPositions (System.Windows.Forms.TableLayoutPanel panel, Int32 columns, Int32 rows) [0x00000]
  at System.Windows.Forms.TableLayoutPanel.GetPreferredSizeCore (Size proposedSize) [0x00000]
  at System.Windows.Forms.Control.GetPreferredSize (Size proposedSize) [0x00000]
  at System.Windows.Forms.Control.get_PreferredSize () [0x00000]
  at System.Windows.Forms.Control.set_MinimumSize (Size value) [0x00000]
  at RegExBuilder.RegexForm.InitializeComponent () [0x00000]
  at RegExBuilder.RegexForm..ctor () [0x00000]
  at (wrapper remoting-invoke-with-check) RegExBuilder.RegexForm:.ctor ()
  at RegExBuilder.Program.Main () [0x00000]

Mono is the .NET implementation for linux.
Logged
kevinjmills
Charter Member
***
Posts: 8


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: December 05, 2008, 06:20:40 PM »

I've never tried it under mono.  My first guess might be, and this is just a guess, that maybe mono doesn't support setting the column width on a listview to -2 to auto-fit the width to the control.  I could be wrong though.  (Edited)  Looking at the stack trace again, I'm guessing it's not related to the -2 setting, but to something in the single table-layout panel that I'm using.  Not sure how to debug it, but I'll look into it a little.  It would be good to see it run under mono.

I've also received a report that RegEx Builder, for some reason, requires admin rights on Vista to run properly.  That is certainly not the intent so I'm trying to track that down too.
« Last Edit: December 05, 2008, 06:23:20 PM by kevinjmills » Logged

--Kevin
kevinjmills
Charter Member
***
Posts: 8


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: December 05, 2008, 06:59:17 PM »

Funny, I just saw Mouser's post about Regular Expression Designer.
Logged

--Kevin
mouser
First Author
Administrator
*****
Posts: 33,792



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: December 05, 2008, 07:55:15 PM »

Kevin.. Well while you are in a philosophical mood, you might as well see:
http://www.donationcoder....ware/Other/Spc/index.html
(system path commander, from 2005)

 huh

ps.
don't get discouraged -- there are few program ideas out there that haven't been done and redone over and over.  each project we embark on makes us a better programmer and helps us discover new things.
Logged
kevinjmills
Charter Member
***
Posts: 8


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: December 05, 2008, 08:21:08 PM »

Oh! I'm not discouraged.  I do these little projects primarily to learn something about new technologies, languages, frameworks, etc...  My main problems is that I have for too many interests (both in and out of software) and not nearly enough time to learn them all, much less develop any real expertise in them.  My real expertise is embedded systems programming (pure old fashioned C) and program management, which I've been doing for almost 20 years now.  I never thought I'd see the day that C was considered an antiquated language. smiley I do this stuff for fun and just to keep up with the times. smiley  I'm constantly awestruck by the quality and quantity of available free software out there.

Right now I'm installing Vista Ultimate and Visual Studio 2008 in a VPC2007 virtual machine so that I can debug why RegEx Builder is wanting admin rights.  Just another Friday night... smiley
Logged

--Kevin
kevinjmills
Charter Member
***
Posts: 8


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: December 06, 2008, 01:32:25 AM »

So, after installing Vista Ultimate and Visual Studio 2008 in Virtual PC I now know why RegExBuilder wants admin rights to run on Vista.  My installer places several example files and expression files in a couple of sub directories in the application install location.  This works perfectly well on XP, but not so well on Vista because Vista requires admin rights to access the files at run time.  The obvious solution seem to be to move the data files to the All Users Application Data directory, but that apparently has the same limitation under Vista.  Any advice on how to configure the setup project to put these files someplace where non-admins can access them?
Logged

--Kevin
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.032s | Server load: 0.08 ]