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]