Shawn Weisfeld

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

My Links

News


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.

Archives

Post Categories

December 2006 Entries

Perpetuum Software

Perpetuum Software has donated a few copies of their “.NET ModelKit Suite” (http://www.perpetuumsoft.com/Product.aspx?lang=en&pid=38) to the Orlando .NET Users Group. They have offered the first 4 people that read this post and email me at software@shawnweisfeld.com a free copy of their tool suite.

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

VB.NET vs. C#.NET

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 (http://www.aisto.com/roeder/dotnet/) 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. THANKShttp://www.microsoft.com/technet/community/newsgroups/dgbrowser/en-us/default.mspx?dg=microsoft.public.sqlserver.dts&mid=61f557cb-37c7-4be1-91e5-960262653fdd 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 Centerhttp://www.oracle.com/technology/tech/dotnet/index.html Build a .NET Application on the Oracle Databasehttp://www.oracle.com/technology/pub/articles/cook_dotnet.html Oracle .NET Drivershttp://www.oracle.com/technology/tech/dotnet/tools/index.html

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 Articleshttp://support.microsoft.com/kb/910449 http://support.microsoft.com/kb/891031http://support.microsoft.com/kb/810572 Web Casthttp://support.microsoft.com/servicedesks/webcasts/seminar/shared/asp/view.asp?url=/servicedesks/webcasts/en/WC102704/manifest.xml

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, http://en.wikipedia.org/wiki/Flood_fill). Here is my implementation in C++.   Some things to note 1)      I am using the ImagerBitmapClass from a previous post (http://drowningintechnicaldebt.com/blogs/shawnweisfeld/archive/2006/11/06/Bitmap-Processing-in-C_2300_.aspx), 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 (http://www.devfish.net) came to Orlando today to talk about ASP.NET AJAX (http://ajax.asp.net). 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 (http://www.community-credit.com/) Contest. I am the proud owner of a Mood Beams Creature. I wanted to give a big thank you to David Silverlight (http://www.xmlpitstop.com/), 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: