Geeks With Blogs

News INETA Community Speakers Program WTFNext's hosting!

View Stacy Vicknair's profile on LinkedIn

WTF Next? Dev ramblings from a master of nothing. How-To From beginner to advanced, this post had you in mind for continued learning.
Code Documentation Generation with SandCastle
If you, like me, have ever looked over the MSDN documentation and though how nice it would be to have that type of documentation for your codebase, SandCastle is the tool you’ve been looking for. SandCastle is a Codeplex project initiated by Microsoft in order to provide MSDN-esque documentation for .NET projects or asssemblies. The documentation can come in several formats such as CHM files or a website. GhostDoc and SandCastle Help File Builder To get started with SandCastle for documentation, ......

Posted On Tuesday, October 25, 2011 1:15 PM

Unit Testing Role-based Authorization in ASP.NET MVC 3
When testing in ASP.NET MVC3, one of the common elements you might want to test is authorization. Although the framework does most of the heavy lifting for ASP.NET Membership and authorization it is still worthwhile to be able to write a test to show that the proper Authorization tag is in place. You might think that it’s as easy as calling the method on the controller with a proper context, but that’s not the case. When you call the methods directly on the controller the authorizations are skipped. ......

Posted On Tuesday, August 23, 2011 1:02 AM

MSXML 6 failure on SQL Server 2005 Tools install
Today I ran into this problem when setting up the SQL Server Management Tools for SQL Server 2005. Like any good little code slinger, I googled (if you are particular to Microsoft, you can read that as “binged”) to see who’s had the problem, because it’s no news that when you aren’t on the crest of the tech wave that someone else has had the same issue. In particular, MSXML 6 would fail and the log would have a message similar to: MSI (s) (40:58) [22:16:00:859]: MainEngineThread is returning 1605 ......

Posted On Wednesday, September 9, 2009 2:37 PM

Hot-To: Model a Work Breakdown Structure with Project 2007 and Visio 2007
If you’re trying to make a WBS from your suite of 2007 applications, Microsoft Download Center has a Visio add-on that might save you some time. To get a WBS pumped out quickly, just do the following: Download and install Microsoft Office Visio 2007 WBS Modeler. Open Visio, and start from the new WBS Modeler. Open Project and open the project you want to make a WBS for. In Visio, click WBS Modeler, then Import From Microsoft Office Project… Click through a couple more settings and here you have it. ......

Posted On Sunday, January 11, 2009 12:05 PM

How-To: Enumerate the Internet Explorer Installed OpenSearch Engines
For my recent Launcher project, I was constructing a ribbon that would allow the user to search the web via their engines installed in Internet Explorer. The engines themselves are an XML document following the OpenSearch schema. For firefox, these xml documents just get stored locally. What does IE do with theirs? Well, IE sticks them in the registry. Why? Maybe someone else can answer that. Here's a brief look at how to get the search engines out of the registry. The following snippets of code ......

Posted On Wednesday, November 26, 2008 1:27 PM

How to: Set up Google Analytics on your GeeksWithBlogs blog
If you haven't seen Google analytics before, you ought to know this: it rocks. You'll get great reports on everything from geographic location to browser to flash version (Why no Silverlight version, eh Google?) See example awesomeness here: Obviously I've only recently set this up. However, since it is up and running and working great, I figured I'd show you how to get yours up and running as well. Firstly, sign up for Google Analytics. Then afterwards, Google will provide a script to monitor the ......

Posted On Friday, November 21, 2008 12:58 PM

How To: Create a plugin architecture in VB.NET
Creating a plugin architecture in .NET can be achieved in a few steps using the .NET framework. All it takes is a little time, a common interface and reflection. In this blog we’re going to look at how to make a simple plugin that performs basic integer calculations. As a disclaimer, this method is not CLS compliant. If that is necessary for you, then stick around and I hope to have a new version that maintains compliance posted. The code in this blog is mostly illustrative, and the full code is ......

Posted On Wednesday, May 6, 2009 1:19 PM

Custom Code Snippets Series Part 3: XML Example
Hey guys, Here we are, and I’m taking the time to finish up my first series at my new host geekswithblogs! For this part of the series we’ll be taking a look at a practical example of an XML snippet, namely the snippet to create snippets. I’ve created my own version, but if you’ve toyed with XML snippets before you would know that Microsoft has already included a snippet snippet. This is a good alternative to the “Hard” way described in Part 1, but what if you want a little more of a custom feel ......

Posted On Tuesday, November 4, 2008 12:45 PM

Custom Code Snippets Series Part 2 of 3: The “Easy” Way
Here we are at part two of the Custom Code Snippet Series. In the previous part we covered how to make your own snippet by creating an XML .snippet file and adding to it the necessary content to get a custom snippet up and running. This time around, we’re going to cover the “Easy” method of creating custom code snippets: through a GUI. Thankfully, the MSDN itself has a Code Snippet Editor for both Visual Basic 2005 and 2008 available at the following links. This tutorial will make use of the Visual ......

Posted On Monday, October 20, 2008 10:58 AM

For those geeks that want decent looking <pre> code
I mashed together a variety of random web resources on how to make a decent pre tag for code and the output looks like this (ignore how incredibly bad this code is... I was testing SVN and making sporadic changes... Steve McConnell would strangle me): Module Module1 Sub Main() Console.BackgroundColor = ConsoleColor.DarkBlue Console.ForegroundColor = ConsoleColor.White Console.Clear() My.User.InitializeWithWindo... Dim sw As New Stopwatch() sw.Start() Dim username As String = My.User.IsInRole(Applicatio... ......

Posted On Tuesday, October 14, 2008 1:48 PM

Custom Code Snippets Series Part 1 of 3: The “Hard” Way
In this brief series I’m going to go over creating your own custom code snippets for use in Visual Studio 2005 or later. We’ll be using the XML Schema from Visual Studio 2005, but I assure you it works for both. This series will contain three parts: The “Hard” Way The “Easy” Way Practical Example of an XML Snippet The reason we’re going to call this version the “Hard” way is because there are snippet generator apps available, including one made by the teams themselves. So before we begin, I’d like ......

Posted On Tuesday, October 14, 2008 1:12 PM

Wondering how to deploy an App in Express Editions?
So you’ve got your free fancy express edition for VB or C#, you’ve created your new godlike application that you’ve just got to get out to the world and then the heavens rain all over your parade because you can’t find those other templates necessary to deploy your application. Now is not the time to give up, you can still get the job done with Click Once deployment, and Mary Lee over at the Visual Basic Team’s blog has got the tutorial to show you how. ......

Posted On Friday, October 3, 2008 10:05 AM

Free mail hosting from Windows Live Part 2
Continuing on from what I started in the Part 1 post, I’m going to show you how to get set up with Windows Live mail for your domain (assuming GoDaddy, but correlations will be present). It’s easy, relatively quick, and will result in a free service that ought to minimize your mail frustration. Step 1: Get an account started on To get started, browse over to Towards the bottom of the page, click get started and then enter in your domain information. Leave ......

Posted On Tuesday, October 7, 2008 12:23 PM

Copyright © Stacy Vicknair | Powered by: