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

December 2006 Entries

Perpetuum Software

Perpetuum Software has donated a few copies of their “.NET ModelKit Suite” ( to the Orlando .NET Users Group. They have offered the first 4 people that read this post and email me at a free copy of their tool suite.

posted @ Friday, December 15, 2006 9:46 PM | Feedback (0) |


Ok so I know that this is a heated subject but I thought I would weigh in with my opinion and hopefully add some to the conversation. The focus of my discussion is not the “syntactical sugar” as one of my colleagues calls it but actual performance. To keep things the same I wrote two chunks of code one in VB the other in C# compiled them using VS.NET in release mode and then used Reflector ( to decompile the assemblies. As you can see both versions produced the same disassembly but do they produce the same performance. Conventional wisdom...

posted @ Wednesday, December 13, 2006 1:17 PM | Feedback (7) | Filed Under [ .NET C# VB.NET ]

Help with SSIS

UPDATE: it appears to work fine when the physical path to the file is replaced with a file share path (i.e. "\\machine\files\xxx.txt") I recently posted the following question to the Microsoft Newsgroup. If you have any ideas please post a reply to the Newsgroup. THANKS When executing a SSIS package I get the following errorThe file name "D:\xxx.TXT" specified in the connection was not valid. I am executing my package from a .NET Assembly using "Microsoft.SqlServer.Dts.Runtime" C# excerptApplication a = new Application();Package p = a.LoadPackage("e:\xxx.dtsx", null);DTSExecResult result = p.Execute(); My package does the following:1) Executes a TSQL Statement to delete all the data from...

posted @ Thursday, December 7, 2006 10:25 PM | Feedback (0) | Filed Under [ C# SQL ]

Beginning Oracle & .NET

A question came across my desk asking about how to get started with using Oracle in .NET. These links on the Oracle site are very helpful. Post comments to share your favorite links. The Oracle .NET Developer Center Build a .NET Application on the Oracle Database Oracle .NET Drivers

posted @ Wednesday, December 6, 2006 1:09 PM | Feedback (0) | Filed Under [ .NET ASP.NET C# ]

The “Double Hop” Issue

I have run into the dreaded “Double Hop” Issue many times over the last few years, I have even heard horror stories from developers in other companies. To that end I have decided to put together a list of useful links on this issue. Here is a few that I found helpful. If you have more please share them via the comments section. KB Articles Web Cast

posted @ Wednesday, December 6, 2006 12:27 PM | Feedback (0) | Filed Under [ .NET ASP.NET ]

Stack Based Flood Fill Algorithm

For a recent project I needed a Flood Fill Algorithm (see Flood Fill in Wikipedia, Here is my implementation in C++.   Some things to note 1)      I am using the ImagerBitmapClass from a previous post (, which I converted to C++ 2)      I am doing this fill in grey scale, you can easily change it to use full color objects 3)      I am looking for all white objects, converting the first blob of white pixels to a given color, then moving to the next blob with a new color 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 marker = 100;for (int row =...

posted @ Monday, December 4, 2006 12:14 PM | Feedback (0) | Filed Under [ .NET ASP.NET C# Images ]

ASP.NET AJAX Random Image Rotator

Joe Healy ( came to Orlando today to talk about ASP.NET AJAX ( After seeing his presentation I was inspired to play with the tools. Additionally I got an email asking that I build an image rotator that changed the images on a webpage every 5 seconds. I thought to myself, self I can do that with AJAX, so I did, and I thought I would share it with you. First I added a ScriptManager and UpdatePanel to the page, inside the ContentTemplate area of the UpdatePanel I added an AJAX Timer and an ASP image. Next I set the...

posted @ Saturday, December 2, 2006 12:06 AM | Feedback (1) | Filed Under [ .NET ASP.NET C# ]

16th Prize in the November 2006 Community Credit Contest

I am please to announce that I have won 16th Prize in the November 2006 Community Credit ( Contest. I am the proud owner of a Mood Beams Creature. I wanted to give a big thank you to David Silverlight (, and all the volunteers and sponsors that make a GREAT organization like Community Credit work! Mood Beams These four little creatures respond to music with a variety of lightshows — heartbeat; rainbow; strobe; color dance; or color hold (a steady glow). Turn off their Beat Sensor and they'll still attempt to dazzle you with ever-changing lights of red, yellow,...

posted @ Friday, December 1, 2006 2:13 PM | Feedback (0) |

Powered by: