Clean Logic

Clean Logic

Welcome to Clean Logic, where the writing style is dirty and the arguments eratic. Enclosed you will find articles on current (at the time) events, technology topics, and the development of p2the3.org. Additionally, the keeper of the page will throw in random events from his life that impact, influence, or irk him in some way.

Enjoy.

Select on right click in VB.net

August 31st, 2008

The following code causes the currently moused-over line of a list box to become selected when the box is right clicked on. I use this for preselecting the item that the mouse is over when context menus are used. It’s a pretty simple solve, but I haven’t seen a similar one posted anywhere, […]

Stripping characters from a string in VB.net

August 31st, 2008

The following code is designed to strip characters from a string in VB.net. I’m sure there are lots of ways to do this, but what I’ve done is dim a Char, and a String. Then since the string is composed of chars, you’re able to do a “for each” where you check each […]

How to kill a process in VB.net

August 31st, 2008

The following sub is a barebones example of how to kill a process using visual basic.net. It scans through each running process on the host computer, searching for one which matches strProcesstoKill. If it finds it, it stops it and gives you a message. If it does not find it, it lets you know that […]

Platypus iPod Ripper

July 23rd, 2008

Hey guys. Been a while since I’ve put anything up here. Nothing special, just wanted to point you over to the downloads page, to check out the iPod ripper, if you haven’t looked at it.
It’s in its second revision, and I’ve heard that I may have introduced some problems into it with this second rev. […]

Interface

June 23rd, 2008

Which is more real, what your brain perceives, or what everyone else does? This, I suppose, is the heart of the question posed in Interface. After a stroke, an Illinois governor is implanted with a small microchip which serves to replace the damaged portions of the brain, bridging the neurons on either side. […]