Chris Pietschmann

husband, father, hacker, entrepreneur, futurist, innovator, autodidact


VB.NET: Make a Form semi-transparent when moving and resizing it

Here's a little VB.NET code snippet that I wrote to make a Form semi-transparent when moving and resizing it. I think this is a neat little effect to add to an application.   Public Class frmTransparentMoveResize Inherits System.Windows.Forms.Form Private _OpacityResize As Double = 0.5 Private _OpacityMove As Double = 0.5 Private _OpacityOriginal As Double Private Const WM_NCLBUTTONDOWN As Long = &HA1 Private Const WM_NCLBUTTONUP As Long = &... [More]

IE7: Another version of Internet Explorer will be released for Windows XP!

“Microsoft today is committing to deliver a new version of Internet Explorer for Windows XP customers.  This version, called IE 7, will add new levels of security to Windows XP SP2 while maintaining the level of extensibility and compatibility customers have come to expect from IE.“ Source:

Why can't IIS implicitly share ASP Session state with ASP.NET??

Why can't IIS implicitly share ASP Session state with ASP.NET?? This is really a drag on starting to convert an ASP application to ASP.NET. Of course, you could use SQL Server to store your Sessions state, but then you'd have to rewrite that portion of your ASP application first. I don't want to, Why can't I just use Session(”myData”) in ASP and ASP.NET and have it point to the same Session value? C'mon guys!!

WI-INETA Meeting on Service Oriented Architecture

I went to the WI-INETA meeting last night. Matt Terski presented on Service Oriented Architectures. Matt is an accomplished software architect who has had significant real-world experience working with Fortune 500 customers on developing services oriented architectures with .NET technologies. Matt is also the President of Serlio Software which is located in Wauwatosa, WI. You can view Matt's blog at He provided an awesome presentation explaining the theory an... [More]

AnyMail 2.0 Released

AnyMail 2.0 was released today. AnyMail is an application that allows you to send “anonymous” email messages. New in Version 2 - Added ability to:1. Send Attachments2. CC/BCC email3. Set message priority4. Set message body format type (HTML/Plain Text) In order for messages to be send you need to have the address (URL) of an SMTP Email server that allows the relaying of messages. Download AnyMail 2.0

WindowsXP Alt-Tab Taskswitch Powertoy...

Now this is a feature that should have been added to Windows XP. It matches and reflects the Windows XP visual style. Its really neat because instead of just showing the title and icon of an application, it also shows a screenshot of the applications window. For instance, this is expecially usefull when switching between instances of Internet Explorer, since you can easily have 5 or more instances running at a time. Well, at least I do pretty frequently. This isn't something I just discovered, I... [More]

Regular Expressions are pretty neato...

I never worked with regular expressions before. I heard how great they can be, but never really knew. Regular expressions are really cool. RegEx Sample: Number with 0 to 3 decimal places  (|\-)\d+(.\d{3}|.\d{2}|.\d{1}|) Regular expressions look pretty complex and sort of cryptic at first glance, but if you have a good tutorial to go through it one part at time they aren't really difficult to learn how to write. This site has some good tutorials on Regular Expressions: http://www.regular-... [More]

I found a bug in SQL Server 2000...

Well, I didn't find a new bug, but it is the first time I discovered a bug in SQL Server by just doing my everyday job. I'd post the code for the SQL Server user defined function that I wrote if I could, but I can't (confidential). Its nice to have a reminder once in awhile that even Microsoft's software has bugs. Server: Msg 8624, Level 16, State 8, Line 1 Internal SQL Server error.

OS-tans - these are like Anime mascots for the OS's

A small Internet phenomenon on Futaba Channel, the OS-tan (OS for Operating System, and the Japanese "-tan" (??) which is an overly cute mispronounciation of, specifically a child's slurring of "-chan" (???), a diminutive honorific for a person) or simply OS Girls are the personification of several OSes, most famously Windows, by various amateur Japanese artists. A pure fan creation, the appearance of each character is generally consistent across artists. OSes are almost always portrayed as wome... [More]

XBox II...

1) Hard Drive... Yes!  There was some speculation that MS was going to take the HD out to make it more difficult to Mod. 2) Flash based HD... Yes!!!  It was told to me that the HD was going to be flash based... small size fast access... BAM! 3) No Stupid Dongle DVD playback... Yes!!!  The reason that the first Xbox didn't have built in DVD playback is a simple one, Sony owns the Intellectual Property rights for DVD playback.  Nuf said... 4) Xbox II at E3... Hell Yes!!!&nbs... [More]

EMail (POP3, SMTP and MIME) looks complex but is in fact really simple

Email at first glance appears to be really complex, but once you look further down at how it work you will find out that Email is in fact really simple. POP3 and SMTP each only have about a handfull of command that you need to know to Send/Recieve email messages. The internet mail message format and MIME both appear complex, but are actually very simple and could be thought of as being somewhat object oriented. Really, the most complex part of email is MIME Attachments which is just complex beca... [More]

Can you have Windows 2003 Server display the Windows XP Visual Styles?

Yes, you can!! If must turn on the “Theme” service in Windows 2003 Server to enable the Windows XP Visual Styles. Then go to the Display Properties in the Control Panel and set the “Windows and Buttons“ dropdown on the Appearance tab to “Windows XP Style”. And like magic you can have Windows 2003 Server look just like Windows XP!! Sweet!!

My Latest Project: POP3/SMTP EMail Client

I have currently and in the past had so many projects that I've wanted to create but just never actually went and fully developed them. Well, I have a new one I'm working on now and will force myself to finish it. I'm working on a POP3/SMTP EMail Client. I am working on making it support POP3 and SMTP for retrieving and sending email messages. I am also going to make it support the XMTP (eXtensible Mail Transfer Protocol) which is an XML transformation of the standard Internet Message Format. I'... [More]

Virgin Mary In Grilled Cheese - Looks more like Marylin Monroe

The Vrigin Mary in a grilled cheese sandwich??? I think it looks more like Marylin Monroe. The last I checked the ebay auction was up to almost $7,000. I wanna make me one to sell!

What do Linux, MacOS and Windows all have in Common??

When you think about it, the three major Operating System's (Linux, MacOS and Windows) come down to one person/entity that controls them. No matter which Operating System you use, you are relying on a single person/entity to update/maintain your platform. Linus Torvalds contols the Linux kernel.Microsoft Corp. controls Windows.Apple Computer, Inc. controls MacOS. If the person/entity who governs the core of your OS falls off the face of the Earth, at least with Linux we all have the ... [More]

AntiMatter is a reality: not just for Trekkies!

Antimatter a reality?? Hell, yeah. It can be used for super powerfull weapons, space travel, and more. Antimatter technology doesn't have the radioactive bi-products like nucleur technology does.,14632,Soldiertech_Cool100804,,00.html?

SQL Script: Search all tables for a specific field

DECLARE @NAME_TO_SEARCH_FOR nvarchar(50) SET @NAME_TO_SEARCH_FOR = '%photo%' SELECT AS Table_Name, AS Column_Name FROM syscolumns INNER JOIN sysobjects ON = sysobjects.idWHERE LIKE @NAME_TO_SEARCH_FOR AND sysobjects.Type Like 'U%'

Minimize Microsoft Outlook to the System Tray

I don't know why they took this option out of the settings within Outlook, but the registry setting for this is still there. To minimize it to the system tray, start regedit and follow the steps below:HKEY_CURRENT_USER \ Software \ Microsoft \ Office \ 10.0 \ Outlook \ Preferences New Data Type: REG_DWORD Value Name: MinToTray Data: 1 (0 to disable MinToTray) The number in red above is the MS-Office version number; 10 is Office 2000; 11 is Office 2003.

Error ASP 0178 on Windows 2003 Server (IIS6) by Server.CreateObject on DCOM registered Component

This error is a permissions problem. This is a very frustrating problem for someone who doesn't know Windows Server 2003 very well. Heres is a workaround:1. go to Administrative Tools> Component Services 2. expand COM Services 3. expand My Computer. 4. expand COM+ Applications. 5. Right click on your Application, select Properties 6. Go to the Security tab7. In the Authorization frame, uncheck “Enforce access checks for this application“ This isn't the best, since it grants every ... [More]