Shawn Weisfeld

I find when I talk to myself nobody listens. - Shawn Weisfeld
posts - 364, comments - 174, trackbacks - 34

My Links


Shawn Weisfeld's Facebook profile

The views expressed in this blog are mine and mine alone, not that of my employer, Microsoft, or anyone else’s. No warrantee is given for the quality of any material on this site.


Post Categories


Populating a Generic List in VB.NET

Got a question on how to populate a generic list in VB.NET, and while I am a C# guy, I figured I would show some VB.NET love. For this example I will be using a customer class, he is real simple just 2 properties. One for first name and one for last name. 1: Public Class Customer 2:   3: Private _first_name As String 4: ...

posted @ Tuesday, June 16, 2009 12:17 AM | Feedback (2) | Filed Under [ .NET VB.NET ]

What do your error messages reveal?

I know that most of you all know this already, but I figured it was worth a blog post since I just saw this from I got this very informative error message back when using their site earlier. . . Query Of Queries runtime error.Expected type STRING but encountered type NULL on the left of the LIKE condition  The error occurred in D:\INETPUB\wwwroot\content\Research\kbb\act_valueReport.cfm: line 74 Called from D:\INETPUB\WWWROOT\content\Research\kbb\index.cfm: line 2172 : 73 :  <cfmodule template="mod_kbbtable.cfm" width="#kbbModTableWidth#">74 :  <cfquery dbtype="query" name="qEquip">75 :  SELECT * FROM valueReport.Equipments WHERE GroupCode LIKE 'M' ORDER BY DisplayOrder76 :  </cfquery> While it is important for us...

posted @ Monday, March 9, 2009 12:46 PM | Feedback (0) | Filed Under [ .NET ASP.NET C# SQL VB.NET ]

A review of Professional DotNetNuke 5: Open Source Web Application Framework for ASP.NET from Wrox

A few weeks ago I got a copy of Professional DotNetNuke 5: Open Source Web Application Framework for ASP.NET ( Figured since I had been to presentations by 3 of the 5 authors I just had to have the book. Brian Scarbeau, Stan Schultes and Ryan Morgan are avid speakers in the Florida .NET community and knowing them I knew this book was going to be a good read. A cross country flight from Dallas Texas to Seattle Washington provided the perfect opportunity to concentrate on reading a new book. While waiting for my plane to take off I made...

posted @ Sunday, March 1, 2009 1:12 AM | Feedback (2) | Filed Under [ .NET ASP.NET DNN VB.NET ]

Ramp Up

Microsoft has started a new program called Ramp UP ( “Ramp Up is a free, online, community-based learning program, with a number of different tracks that will help you build your portfolio of professional development skills. Ramp Up has a solid foundation of premium technical content from subject-matter gurus, and provides easy-to-access content in a variety of forms that guide you in learning the important skills.”At this time they have 6 tracks. . . SharePoint for Developers (Part 1) Visual Studio 2008 Aspiring Developer (migrating to VS 2005) Java Developer (migrating to VS 2005) VB 6.0 Developer (migrating to VS 2005) VS 2002/2003 Developer (migrating...

posted @ Tuesday, January 6, 2009 12:08 PM | Feedback (0) | Filed Under [ .NET C# Microsoft VB.NET ]

ASP.NET charting controls

Microsoft released a set of controls called the ASP.NET charting controls. I don’t know if they licensed this from Dundas, however in one of my projects I was able to replace Dundas with this in about 30 min. Most of the class names are the same. Oh and they are FREE!!!!! The only caveat is that you have to be using .NET 3.5.

posted @ Friday, December 5, 2008 1:04 PM | Feedback (0) | Filed Under [ .NET ASP.NET C# Downloads VB.NET ]

WCF & Using Statements

I was attending the Dallas Connected Systems UG last night ( and during the presentation I made the bold assertion that one should NOT use the "using statement" when working with WCF. Now I am a HUGE proponent of the using statement in normal circumstances. IMHO if it implements IDisposable use the using statement, except with WCF. This has to do with the way that WCF errors out and when that happens how the connection gets closed. . . Doing my best LeVar Burton "But you don't have to take my word for it" ( Microsoft even says it in...

posted @ Thursday, November 13, 2008 11:29 AM | Feedback (0) | Filed Under [ .NET C# SOA VB.NET WCF ]

Microsoft Web Platform Installer

While I was not able to attend PDC, Microsoft did good by the community and has provided free recordings of many of the sessions ( While this is cool and has some great content, the purpose of this blog post is to talk about the Microsoft Web Platform Installer ( This tool allows for single deployment model for all the bits and pieces needed to put together a clean PC image for a developer use (i.e. VS.NET, SQL SVR, and IIS). IMHO this is a great idea and Microsoft is only scratching the surface of what they could  do in...

posted @ Tuesday, November 4, 2008 1:39 AM | Feedback (1) | Filed Under [ .NET ASP.NET C# IIS Microsoft VB.NET ]

Building a solution with many projects is SLOWWWWWWW

This week I am attending TechEd in Orlando FL and I was honored to be requested to work the C# booth by the MVP and C# teams. I got many great questions from attendees and I thought I would post some of the more interesting ones. So here goes. An attendee, let’s call him Bob, came up and said that his builds were very slow. After some chatting Bob told me that he has a huge number of projects in his solution all “joined” together using project references. This is a convent feature of Visual Studio that provides for “cascading”...

posted @ Wednesday, June 4, 2008 11:47 AM | Feedback (0) | Filed Under [ .NET Architecture ASP.NET C# Microsoft VB.NET ]

Fiddler Web Debugging Proxy

Went to an MSDN event by Russ ( a few weeks ago and during his demo he displayed this cool tool called Fiddler (  A must have debugging tool for any Smart Client or Web Developer. Fiddler is a Web Debugging Proxy which logs all HTTP(S) traffic between your computer and the Internet. Fiddler allows you to inspect all HTTP(S) traffic, set breakpoints, and "fiddle" with incoming or outgoing data. Fiddler includes a powerful event-based scripting subsystem, and can be extended using any .NET language.Fiddler is freeware and can debug traffic from virtually any application, including Internet Explorer, Mozilla Firefox, Opera,...

posted @ Tuesday, September 4, 2007 2:00 PM | Feedback (0) | Filed Under [ .NET ASP.NET C# Downloads IE SOA VB.NET ]

Notes from the TechEd 2007 Birds of a Feather I did with Alan

Shawn WeisfeldC# MVPPresident Orlando .NET Users Group Alan Stevens President East Tennessee .NET Users Group alanstevens@gmail.com Notes by Dave Noderer: Dave for taking notes during the session)  - Microsoft out of the box solution.  - Drag and drop to create a database and CRUD sql statements - Subclass controls to add functionality - Billie has a set of controls to add a number of functionality - How do you do this??   - Ken Getz App dev videos   - Many examples out there   - Much easier with 2005 than 2003   - ASP.NET for dummies - In many cases the out of the box method does not work...

posted @ Saturday, June 9, 2007 1:39 PM | Feedback (0) | Filed Under [ .NET Architecture ASP.NET C# SQL VB.NET ]

Full VB.NET Archive

Powered by: