Wes' Puzzling Blog
... trying to solve the puzzles of .NET
-
Recusive GetFiles for DirectoryInfo via a C# Iterator
I have been working on a project using C# Express and so I have been playing around with some of the new C# 2.0 features. In my project I had a need to get all the files of a particular type in a given directory including all sub-directories. The DirectoryInfo class has a method GetFiles that takes a search pattern (ie "*.exe") but it only searches that directory it doesn't search sub-directories. So I figured this would be a good chance for me to play with these new things called iterators. At any rate I wrote a recursive version of GetFiles using an iterator so that I could do a simple foreach loop to get all the files recursively.
-
RoboForm - Bookmark/Password manager
Well I started using RoboForm a couple of days ago after reading the comments on Dan's post. So far I have to say I really like it. It fills in form data. It acts as a bookmark manager and if that bookmark needs login information then it will fill in that information and login so you don't have to login every time you visit that page. Another feature I like is that all the bookmarks (passcards as they call them) show up in both Firefox and IE. I'm almost thinking of using this as my standard bookmark manager as well as my password database. For security it has a master password so I only need to remember that one password. Also if I want more security I could store my data on a USB key drive.
-
Finished my internship
I have not been blogging much over the summer because I was busy with my internship but I'm back now so you will see a few more blog posts from me.
-
Variable number of parameters... C/C++ vs C#
A friend and I were talking about variable length parameter lists in C/C++ the other day and neither of us knew how to do it. We knew there must be some way because of the printf function. Just out of curiosity I did some googling and figured out how to do it.
-
Notepad2, Disable Reusing the same window
After reading about notepad2 from some other bloggers in the community (Omar), I downloaded it and have been using it for a couple weeks. If you desire more from notepad I would highly suggest you take a look at it. I took Omar's advise and just replaced the existing notepad with it and I haven't had any problems. The only thing that bothers me is that it resuses the window by default. So you can't open more than one file by clicking on the files themselves you would have to do it through notepad2, by the open new window option.
-
Finally Finals over... Here I come Redmond
Finally this semester has come to an end, my Masters is now half over and I only 2 more courses and my MS Thesis to finish next year.
-
Spam-me-not
I found this mentioned on a list serve that I'm on and found it interesting so I figured I would pass it on. http://www.zapyon.de/spam-me-not/index.html
-
Reflector 4.0 Released
Cool Reflector 4.0 is released. This is an awesome tool for any .Net Developer.
-
nGallery v1.6.1 released!
nGallery v1.6.1 is now available for download!
-
Ditigal Camera Reviews
This semester I'm taking a digital picture processing class at Virginia Tech and my professor pointed me to http://www.dpreview.com. If you are in the market for a new digital camera I highly recommend checking out this site for very detailed reviews of a ton of digital cameras. About a month ago I bought a new digital camera, a Cannon Powershot S50, but of course I didn't know about this site at that time luckily after checking its review at dpreview it seems to rate pretty good so I'm happy.