Jeff Widmer's Blog
ASP.NET, ASP.NET MVC, C#, VB.NET, IIS7, Windows Forms, VB6, ASP 3.0
Browse by Tags
All Tags
»
Tips & Tricks
(
RSS
)
C#
Machine Setup
osql.exe
SQL Server
Unicode encoding
Utilities
Visual Studio
How to show white space in Visual Studio
In Microsoft Word I usually have the paragraph symbol turned on to Show Hidden Formatting Symbols (white space) so that I can clearly see spaces, tabs, and other white space characters. Up until recently I had no idea that Visual Studio had the...
How to quickly comment or uncomment lines of code in Visual Studio
When I am developing I am always trying to reduce the amount of time that my hands come off of the keyboard and have to move to the mouse. One of the frequent functions that I noticed required me to move my hand off of the keyboard to the mouse...
How to quickly format a C# class file – Ctrl-K, Ctrl-D
In C# as you are typing in a class file the indenting of your code can easily get out of alignment making the code hard to read. Where does your class, if block, or method begin and end?? You can manually go and fix each line but there is a much...
Use Ctrl+. (period) to trigger Visual Studio’s automatic add using statement context menu
When you type class names that are missing the correct namespace reference, Visual Studio will help you out by giving you a context menu that you can use to automatically add the correct using statement to the top of your class. For instance, in the example...
Timestamp string with milliseconds from a System.DateTime
You can easily convert a System.DateTime object into a string based on the current date and time by using the ToString() method of the DateTime object. For instance: DateTime d = DateTime.Now; String s = d.ToString(“yyyyMMdd-HHmmss”); Will produce...
Parse a non-standard date string into a System.DateTime object
The other day I had a date that was in the form of yyyyMMdd and I needed to parse that string into a System.DateTime object. Just trying to parse the string into a System.DateTime object would not work: String dateString = "20091016";...
osql.exe and unicode files – how to save your sql scripts with encoding
osql.exe is a great application for running sql scripts in a batch. I use a batch file to execute multiple sql scripts that I use to rebuild my current application database from scratch. When developing a brand new application, deploying a...
PureText is Pure Gold!
PureText from Steve Miller is a very simple and extremely useful utility that makes the Windows-V hot key combination paste non-formatted text instead of formatted text. I use it all over the place and I make sure it is installed and set to run...
Use Alt-key to select arbitrary block of text in Visual Studio
One of the my most favorite tips/tricks for Visual Studio is the ability to copy and paste an arbitrary block on text in the Source View by pressing and holding the Alt-key while dragging your mouse. A quick example is the best way to describe it...
More Posts
Search
Go
This Blog
Home
Contact
About
News
Jeff Widmer's StackOverflow Profile
Ads by Lake Quincy Media
Ads by Lake Quincy Media
Tags
.NET
ASP.NET
ASP.NET Membership
ASP.NET MVC
BabySmash
C#
Canon Scanner CanoScan Toolbox
CMS 2002
Community News
CSS
Gmail
Hyper-V
IIS6
IIS7
Index Server
Instant Church Directory
ISO Country Codes
Koah
Machine Setup
MindManager
Notepad
OneNote
osql.exe
Outlook
QuickBooks
QuickBooks Online Edition (QBOE)
random.org
Sample Book Chapter
Sample Code
Seinfeld
SendTo
Silverlight
SMTP
SourceGear
SQL
SQL Script
SQL Server
SQL Server Management Studio
StackOverflow
Tips & Tricks
Unicode encoding
Utilities
VB6
Viral Marketing
Visual Basic
Visual Basic 6.0
Visual Studio
Windows 7
Windows Server 2008
Navigation
Home
Blogs
Archives
November 2009 (5)
October 2009 (15)
September 2009 (17)
August 2009 (6)
June 2009 (2)
May 2009 (3)
October 2008 (1)
August 2008 (1)
December 2007 (3)
November 2007 (1)
August 2007 (1)
April 2007 (1)
March 2007 (1)
September 2006 (1)
August 2006 (1)
January 2006 (1)
December 2005 (3)
September 2005 (1)
August 2005 (1)
July 2005 (2)
October 2004 (1)
March 2004 (1)
February 2004 (2)
January 2004 (6)
Recommended Blogs
Scott Guthrie
Day Dream Land
Syndication
RSS
Atom
Comments RSS