Chris Pietschmann

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


Prevent Windows Kernel From Using The Page File (PagingExecutive Function)

DescriptionPlacing the Windows (2000/XP) Kernel into RAM is quicker than allowing it to be paged.DirectionsIf you system has more than 256MB of RAM, then you should try this tweak. In theory, the kernel (and thus Windows) should run faster if it kept in RAM instead of the slower page memory.This involves editing the registry so make a registry backup before trying this. Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\DisablePagingExecutive Setti... [More]

True Programming Language Independent IDE

I watch a video on about how we will be able to mix C++, C# and VB.NET code files within the same project in Visual Studio 2005. Watch the video here: I have an idea to take this one step further. It would be cool if the IDE would be able to convert C#, VB.NET and C++.NET code to any of the others. This way a VB.NET developer could load a C# application, edit in VB.NET, then save it back to C#. Then a C++.NET developer... [More]

Write to the Event Log in .NET (VB.NET and C#.NET)

It is as simple as this to write to the Windows Event Log in .NET Declaration: Imports System.Diagnostics Code: Public Function WriteToEventLog(ByVal Entry As String, _ Optional ByVal AppName As String = "APlusFeeCalc", _ Optional ByVal EventType As EventLogEntryType = EventLogEntryType.Information, _ Optional ByVal LogName As String = "Application") As Boolean      Dim objEventLog As New EventLog      Try... [More]

HVD: Holographic Versatile Disc

A Japanese company has achieved the world's first reliable recording and playback of digital movies on a transparent holographic recording disc. Optware plans to offer reader/writer players and 200Gbyte holographic versatile discs (HVD) in 2006 for enterprise users. Much less expensive consumer versions could be on the market by 2007, said Yasuhide Kageyama, manager of business development and marketing at Optware. The company has developed a collinear holographic data storage s... [More]

Why do we need to handle the RowUpdated event of our DataAdapter in order to reflect the ID in a Primary/Foriegn key relationship??

Why do we need to handle the RowUpdated event of our DataAdapter in order to reflect the ID in a Primary/Foriegn key relationship?? Well, anyway here is a page that tells you how to do this. AddHandler daChargeAttendance.RowUpdated, AddressOf FeeChargeAttendanceRowUpdated Private Sub FeeChargeRowUpdated(ByVal sender As Object, ByVal e As SqlRowUpdatedEventArgs)     Dim oCmd As SqlCommand = New SqlCommand("SELECT @@IDENTITY", e.Command.Connection)    ... [More]

Fill DataSet with multiple Tables and update them with DataAdapter

One way to fill a DataSet with multiple tables is to send the database multiple requests. Another way to do this is to use multiple SELECT statements in a single request. There are a couple of problems with doing it this way: The DataTables don't have the same name as the tables in the database, you have to set them yourself You can't update/save the tables to the database; to do that you must use a seperate DataAdapter for each table. Dim myAdapter as SqlDataAdapter = new SqlDataAdapter( ... [More]

JavaScript: How to get value from nested form in iframe?

Here is an example of how to get a value from a nested form in an iframe. It works in IE6, but not Netscape 7.1. PageOne.htm<html><head><script language='JavaScript'>  function Search() {  alert(document.frames("PageTwo").document.forms("Members").elements("Search").value); } </script></head><body><input type='button' value='Search' onclick='Search();'><iframe name='PageTwo' src="PageTwo.htm" width='100%' height='100'></bo... [More]

Create your very own Supercomputer with MPICH

Early supercomputers used parallel processing and distributed computing and to link processors together in a single machine. Using freely available tools, it is possible to do the same today using inexpensive PCs - a cluster. Glen Gardner liked the idea, so he built himself a massively parallel Mini-ITX cluster using 12 x 800Mhz nodes. The machine runs FreeBSD 4.8, and MPICH After working with his machine and running some basic tests, Glen's cluster looks to be equivalent to at least 4... [More]

Windows XP Service Pack 2 Available

I installed SP2 Final yesterday. I had SP2 RC2 installed since it was released to the public. I hadn't encountered a single problem with RC2. The enhancements of the WiFi support is awesome. Before SP2 I wasn't able to use WPA encryption, but now I can!! Yippee!! I love the popup blocker in IE, and I'm sure there are alot of other fixes that I'll just never have to worry about now. Download it at: [More]

The .NET Show: Introduction to Visual Studio 2005 (Whidbey)

I watch the latest episode of the .NET Show today. All I can say is just awesome. The ASP.NET team set and succeeded at their goal of reducing the amount of code you have to write by 70%!! Check this video out and see the new features of VS2K5. They are also building in the ability to do unit tests. I'm not going to explain everything here, just go watch the episode and see for yourself.

Web Based Alternative to SQL Enterprise Manager

I introduce you to Web Data Administrator from Microsoft. It is an ASP.NET application like SQL Enterprise Manager. It's pretty neet, you can put it up on a web server and access any SQL Server from Anywhere. Web Data Administrator:

My Function Guide is finally ported over to SQL Server

I finally got my Function Guide ported over from the mySQL database it used on my old hosting provider to the SQL Server 2000 database on my new/current hosting provider. In the Function Guide you will find information on Windows API, and other function calls. At this time I am focusing on the Win32 API's, but in the future I also plan to incorporate other type of function calls. Function Guide:

Windows System Properties - Add Custom Manufacturer Properties

Here is a pretty neat edit you can do to add your own manufacturer information and logo to the System Properties dialog. Show Computer Manufacturer and Support Information (All Windows) This tip lets you include company and support information on the System Properties page in Control Panel. This is especially useful if you run a computer store and want your customers to be reminded where they bought their PC and where to get technical support. To add the manufacturer and support i... [More]

MSN WebMessenger

There is now a web version of MSN Messenger. Pretty neet, I think. I like the idea of a web application working and acting just like a windows application. The current Web Messenger isn't as feature full as the Windows application, but I would imagine they are working on it, since it is still in Beta. Check it out at  System Requirements: A web browser: Microsoft Internet Explorer 5.0 or later, Netscape 7.0 or later, or Mozilla 1.6 or later, running in M... [More]

OpenOffice - Fee MS-Office alternative

There is a Free Open Source alternative to MS-Office. Open Office is a professional quality application suite unlike most of the open source projects I've seen. It has all the features of MS-Office and you can even open and save all the MS Document Formats. Open Office even has a couple really neat features that MS-Office doesn't have: Writer can save to PDF and Impress can save SWF (Macromedia Flash). It is currently at Version 1.1, and 2.0 is currently in development. I haven't looked very ind... [More]

WinXP SP2 limits max. number of TCP connections/second

Apparently, to reduce the spread of worms like Sasser, Windows XP Service Pack 2 will limit the maximum number of TCP connections your computer can have at one time. I can see what they are thinking, but I wont mind unless some of my applications (like my multi-threaded port scanner) wont work correctly with this new setting. I guess I'll hold off on increasing the max. untill an application generates an error because of it. Here is a registry edit you can do to increase the... [More]

Host ASP.NET Web Applications on an XBox

As you all probably know, XBox is priced at $150, has a hard drive, built in Ethernet, and it has x86 architecture with a P3 cpu. There is a Linux distribution that is being ported to run on the XBox architecture. You may be thinking why does it need to be ported if it uses x86 architecture and uses a P3 cpu. Well, the reason is that it is only about 99% x86 compatible. There are some extra things (mostly copy protection stuff) that Microsoft added to it. That 99% compatibility is also the thing... [More]

Cool Utility to get CPU/Fan Temperatures of you DELL Laptop/Notebook

Dell Inspiron 8x00 fan control utility by Christian Diefer I don't know why DELL doesn't have a utility you can use to read the CPU/Fan Temperatures of you DELL Laptop. I have an Inspiron 1100 and this little utility works perfectly. It even allows you to control the Fan speed. Get It Here: He even has a command prompt version you can use. There is a full compatibility list of all the DELL Notebooks that this utility will work with... [More]

Suspect in AltaVista hacking case works at Microsoft

Last week a man charged with stealing proprietary technology from AltaVista search engine two years was arrested. No big deal right, well this man also is an employee at Microsoft and has been working on Microsoft's new MSN Search technology. Lets see how long till AltaVista presses charges against the software giant Microsoft.A Kirkland man arrested last week on allegations that he stole proprietary technology from the AltaVista search engine two years ago is a Microsoft Corp. employee who has ... [More]

Windows XP SP2 RTM expected in 2 weeks

After a message on the Windows Update V5 newsgroups regarding a possible interim build being released, Microsoft have back tracked and denied that there will be another interim release. Mike Brannigan (MSFT) called the posting "Untrue and inaccurate" and stated that the next public release is the RTM. According to reliable sources at Microsoft the scroll build (RTM) is due to be finished as early as next week or within the next 2 weeks. Current builds stand at 2161. After the RTM date OEMs have ... [More]

Visual SourceSafe 6.0 Automation

One of my clients has a web application that automates updating their clients sites with the latest ASP pages, DLL, and SQL scripts on their databases. This week the idea came up of having that web application grab the latest version of the appropriate ASP pages from SourceSafe during this automation process. We figured it could be done, since Visual Studio can automate SourceSafe, and it also wouldn't be like Microsoft to not make that sort of thing automatable. Below are two links to documenta... [More]

Download.Jet Internet Explorer Vulnerability

Download.JectMicrosoft teams have confirmed a report of a security issue known as Download.Ject affecting customers using Microsoft Internet Explorer, a component of Microsoft Windows. (Download.Ject is also known as: JS.Scob.Trojan, Scob, and JS.Toofeer.) Important  Customers who have deployed Windows XP Service Pack 2 RC2 are not at risk. Shaweet, I'm not affected!! I have WinXP SP2 RC2 installed. There may seem to be th... [More]