Geeks With Blogs
Mayank Sharma December 2008 Entries
Free C# and VB Coding Standards Reference Documents

Joe Stagner posted this very useful link for a free C# and VB coding standards reference documents by Clint Edmonson. I really appreciate Clint Edmonson's effort.

Free C# and VB Coding Standards Reference Documents

Posted On Thursday, December 25, 2008 8:48 AM

Hiding a modal form and showing a new one minimizes parent window
The scenario: One main winform that is open all the time when the application starts. It has a menu strip at the top. User clicks on an item in menu strip and new modal window is opened which has more options. When the user clicks a button on this modal form, another modal form needs to be opened and the previous one to be hidden. Then when the user closes the current form, the previous form is displayed again. The main form has to be displayed all the time. Main form -> Menu item click -> ......

Posted On Monday, December 22, 2008 6:58 PM

Tools to detect and remove SQL injection attacks
Joe Stagner blogged about some tools available to deal with SQL injection attacks. I have used both HP Scrawlr and Microsoft ® Source Code Analyzer for SQL Injection and I have to say they both are easy to use tools that do the job right. Here is the post: The Microsoft Source Code Analyzer for SQL Injection tool: HP Scrawlr: http://www.communities.hp.c... ......

Posted On Wednesday, December 17, 2008 3:39 PM

Auto-Using shortcut for Visual Studio 2005 IDE and Express editions
Visual studio and express editions have a nice Smart Tag support for auto-using statements to qualify a data type by including the using statement for that data type. Though this feature is well known by IDE users, a little less known feature is the shortcut to get to it instead of hovering over the little underscore. You can press Ctrl+(.) (Press control and dot keys together from keyboard) to get the menu that shows all the available using statements or a fully qualified name for the data type ......

Posted On Wednesday, December 17, 2008 2:29 PM

Auto indent code in Visual Studio or Express editions
I learned a nice trick today to auto indent code on aspx or code pages. Simply select the piece of code to be indented, press Ctrl+K and then press Ctrl+F and all the html or code will be nicely indented.

Posted On Wednesday, December 17, 2008 2:17 PM

Copyright © bullpit | Powered by: