Category: Development

Multiple Windows of Notepad++

I use Notepad++ all the time for both home and work, whether I’m debugging or formatting HTML, PHP, C#, etc… I had an issue recently however where it would have been nice to have multiple instances on different monitors. So I searched their site for anything to create new windows and found exactly what I needed, their command line options...

Turning on Agent Forwarding in PuTTY

So, you are in PuTTY and need to enable Agent Fowarding. This wasn’t super easy to find so I thought I’d post how I got there. View the image below as a guide as well. Go : Connection -> SSH -> Auth -> Then in the Authentication Parameters click the Allow agent forwarding. Now you can use the very easy process of...

When to use Parse, Convert, and TryParse in C#

When converting values in C#, we are given three options : Parse, Convert, and TryParse. My suggestion would be to use which method based on where the conversion is taking place. If you are validating user input, an int parse or a convert will allow you to give specific error messages. If you are merely converting in a more discreet...

What is MyApp.vshost.exe, and why Can’t I Kill It?

The visual studio hosting process a.k.a [YourAppName].vshost.exe in brief is the debugging information that Visual Studio creates for between runs to help improve debugging performance and other various functions. I had first worked with these files when I had to clean out my bin folder and noticed these files would not delete and were still in use. I had found...

The breakpoint will not currently be hit. The source code is different from the orginal version.

I noticed that my code was not being reflected in the current build of my application. Then taking a closer look and setting a break point at the code that was not being ran, I hit F5 and noticed a bubble with a warning triangle that had the following message. The breakpoint will not currently be hit. The source code...

How to Add, Modify, Rename, and Delete a Column in SQL

There has been a few times where I needed to compose a script to update a customer’s database, and I’ve had to use probably the most popular of the SQL ALTER TABLE syntax: Add, Modify, Rename, and Drop. To help save for my own notes and to possibly give some help,  I thought I’d write a quick article on these 4...

Quick Formatting Tips in Visual Studio 2010

Formatting code not only keeps OCD programmers like me sane being organized, it also helps with the readability of your code when ever you or somebody else views it for maintenance. However sometimes formatting the code quickly in Visual Studio 2010 is not exactly straight forward so I thought I’d give a few tips from what I learned so far,...

Open Documents and Media in WPF’s Web Browser Control in C#

Ever need to display a word document in the same application and didn’t want to shell execute word? Ever need to display text from a rich text file or regular text file? How about quickly displaying an image file? All of these could use there own controls in WPF (Document Viewer, Image control, etc..), however if you use the web browser...

Use Google Chrome To Audit Your Website

Ever need a quick way to audit your website to check for errors, but don’t want to start? There are plenty of options out there to do audit of your website. but I’m going to focus on an easy and quick option for you today. Step 1: Download Google Chrome. http://www.google.com/chrome/intl/en/landing_chrome.html?hl=en Step 2: Navigate to your website you would like to...

Text Expansion And How It Can Help You

I had found a nice little utility today from a lifehacker explaining about text expansion. Basically it’s a global text completion software which will be able auto complete text you are writing as in Word, but works in a text software. Not as good as Visual Studio’s Intellisense, however this can be used in any software, allowing auto completion for notepad++, or...

%d bloggers like this: