Archives
-
Determine if an executable is a Console Application in C#
Thanks to Scott's comment I went on the hunt to figure out how to tell if an executable is a console application or not. After much hunting I figured out how to do it, here is what I came up with. Enjoy!
-
Windows Run Command Wish List
In order to get more familiar with the new features in version 2.0 of .NET and C# I have been working on a side project using C# Express Beta 1. The project that I have been working on is a replacement for the windows run command. I for one use the run command a lot and there has always been some features lacking. Currently the run command provides a drop down list of the last 26 typed commands and the auto complete functionality for the file system / browser history as described here. Some features that I have already implemented for my new run command are:- Auto complete commands - as you type you are given a suggestion list matching what you have typed and the command that matches the closest is filled in for you
- Smart suggestion list - the commands you use the most often appear at
the top of the suggestion list, and the commands are pre-populated with common
commands that someone might run like:
- Start Menu Shortcuts
- Control Panel Applets
- Favorites
- Recently Opened Documents
- Common Windows Commands - i.e. My Computer, My Pictures, Administrative Tools, etc.
- All Executables in the Path
Turn AutoCompletion on for Run Command
Help prevent windows startup clutter
I have been planning on talking about cleaning up your windows startup for a while but it looks like Jonathan Hardwick bet me too it with his excellent post What is all this stuff doing on my computer?. I do however have a couple more things to add.
My blogging philosophy and my need to analyse my referral log
One of the primary reasons that I blog is to help the community, I don't really expect anyone to directly subscribe to by blog (just out of curiosity does anyone?). I depend on people finding my information through search engines. Most of my posts are technical things that for what ever reason I spent some time figuring out how to accomplish.
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.