Category: Programming

  • Debug in Visual Studio using Firefox

    God knows why I never took the time to figure this out (I say that a lot), but thankfully Peter Gekko did. Now when I run my ASP.NET app, it runs in Firefox. Thats nifty. Change Visual Studio Preferences To Run Firefox Update: This will not work for me. I thought it did when I […]

  • Using .Text Keywords

    From Scott Watermasysk: Keywords are a list of words/symbols/patterns that when found in the body of a post or article will be replace with a link and text of your choice. To add keywords, you must login to your blog and select the Options tab >> Keywords. Some of the features/configurations of keywords: Case sensitive […]

  • w.bloggar and .Text

    When I first got my blog working, I tried some desktop applications to blog from, but couldn’t get any of them to work. Today, I revisited it, and got w.bloggar to work. Pretty simple, I just followed Scott Water’s instructions. Now I don’t have to keep using the admin site and reposting blogs 2 and […]

  • Count Lines Of Code Written

    Scott Mitchell blogged about the amount of code he had written, and I didn’t know of a way to actually count them. There is probably another way, but I don’t care to spend more time then this figuring it out. I found a cool program that will do it nicely. It is called WinCount. Select […]

  • Select Item in ASP.NET DropDownList

    This is by no means revolutionary, but I tell you, I just never took the time to centralize this code. Each time I had to write it out for each DropDownList made me sicker and sicker. What I can say in my defense, and I bet many developers will agree, is that I have way […]

  • ‘Could not write to output file’ error

    I get this damn error at least once a day when trying to compile. It is sporatic — it happens whenever it wants. I restart VS.NET and it goes away. To be clear, all I am doing is compiling my code. I don’t have multiple instances open, or anything tricky. All the solutions I have […]

  • Generate Inserts from a Stored Procedure

    I have said it before, but I use this website as a storage facility for my brain. Trying to find that one useful script I used 2 years ago is always harder than it needs to. Well, here is the latest cool script I couldn't find. It was written by Narayana Vyas Kondreddi and is […]

  • Vertical Select in Visual Studio .NET to get rid of System.Web.UI.WebControls

    Don’t know where I got this, but a cool shortcut in Visual Studio to vertically select text is to hold down the Alt Key while selecting a region. I especially use this to get rid of the System.Web.UI.WebControls in the declaration of a page: protected System.Web.UI.WebControls.TextBox FirstName; protected System.Web.UI.WebControls.TextBox MiddleInitial; protected System.Web.UI.WebControls.TextBox LastName; protected System.Web.UI.WebControls.TextBox […]

  • Prevent Multiple Button Clicks in ASP.NET – How to Implement the Netflix "Please Wait…" Button

    Netflix has a nice submit button so that when you click it, it changes to “Please Wait…” and disables itself to prevent you from clicking it again. before submit after submit I have problems all the time with my users doing this, and I never spent time trying to solve it. You would think all […]

  • My Favorite Blogs

    I thought I would list my favorite programmer blogs that I look forward to reading every day. I use Newsgator for Outlook, so it is very easy for me to group them and read them as a part of my daily business. To be a favorite I look for several things. One, it can’t be […]