Logic Error?
I was reviewing some code the other day and I came across an interesting section. The code is written in C#. public void DoSomething() { if( 1 == 1 ); { // Do Something; } } What might not be immediately obvious is that there is a semi-colon terminating the ...
Security Awareness
I have been working with application security for the past few years while doing my normal day to day development. I am very active in the security community and it always blows my mind how many developers are still uneducated about security. I believe that the trends of the hackers has moved from ...
Change in Scenery
Filed under: Uncategorized
I recently started a new job after spending the last year doing consulting work for a local company. Unfortunately, the recession has slowed work down a bit and I felt the best thing I could do for my family is to get a little stability into my career. I guess it is difficult to really ...
TargetInvocationException Error
Filed under: Uncategorized
I found my team spending most of the day trying to track down an error that was only occurring on Windows Vista. We built our application and had our testers testing the software. Some testers use Windows XP while others use Windows Vista. Everything worked fine on Windows XP but there was an error on ...
Windows Live Writer Released
Filed under: Uncategorized
Microsoft has finally released a final version of Windows Live Writer. You can get it from here http://get.live.com/writer/overview. My posts prior to this one have been written with the beta version of Live Writer. So far the experience has been really positive. There are already some plug-ins to insert code snippets. I haven't ...
ASP.Net Mobile Authentication
Filed under: Uncategorized
I had the opportunity last week to help a co-worker trouble shoot some authentication issues with his ASP.Net mobile web site. This is the first mobile site the company has created and is response to creating some applications that can be made available on blackberry devices. The site was put together rather quickly using Forms ...
Outlook 2007 Hyperlink Security Warning
Filed under: Uncategorized
Everyone knows that when a new version of software is released that there are many new features included. Unfortunately, a lot of these features are not documented that well. I came across an issue regarding a warning message in Outlook 2007 when clicking on a hyperlink pointing to the file system. The warning lets the ...
Visual Studio 2005 C++ Project Creation Failed
Filed under: Uncategorized
I recently was assigned the task of creating a pocket pc service using visual c++ and was going to attempt to use Visual Studio 2005 to do this. I opened up the IDE and clicked on "New Project" and then selected c++ smart device application. To my dismay, the IDE got upset and said it ...
WinForms New AutoComplete Functionality
Filed under: Uncategorized
One of the nice new features that have been added to winforms in 2.0 is the AutoComplete functionality for textboxes and comboxes. By setting up a data source (really just a source of strings) one can quickly add auto complete functionality to their forms. It is pretty simple to set up the auto complete functionality. ...
TablePanelLayout: An Overview
Filed under: Uncategorized
The .net framework 2.0 has brought a few new controls to the winform environment. Among these new controls is the TableLayoutControl. At first glance, one might wonder why there is a need for this new control. It is easy to drag and drop controls exactly where you want them in a windows form. The control ...