Archive for January, 2009

Alyssa’s idea of Retro Day

Leave a comment

Soda Pop and I share a moment

Leave a comment

Quick and Dirty TaskBar Notifier with

Good Morning all!

A sad note my cat Noodles could not pee and that area was bloody. I took him to the vet but they are concerned he is not going to get better. My wife and daughter are frantic as he is their favorite cat. He is mine too but I handle things differently I guess. They put a catheter in him and are hoping for the best.

In addition, I have a pretty complete cast written for my book. If any of you are interested in editing it I would be glad to hear from you.

I had to do this quickly so I could be notified on my desktop when a new record was inserted into my database. I am sure there are better examples out there but this took 5 minutes. Make it a great day!

Have a hidden form in your desktop application.
1) Use a timer control.
2) Get the row count from that table and save it in variable VAR.
3) Compare with the saved variable VAR.
4) Update this variable every time.

Private sub Timer()
  tempVAR = DataBase.Execute("Select Count(*) from ABC"
  If tempVAR <> VAR then
    Messagebox.Show("Your action to perform.")
    VAR = tempVAR
  End If
End Sub


Technorati Tags: ,,,,,,,,,,,,,,

Leave a comment

IE 8 and Yahoo Video Search Problem

I don’t know if anyone has reported this weirdness but here is a screenshot.

Technorati Tags: ,,,,,,,

Leave a comment

Collections that are thread safe with

Good Morning all! Some of you know I have started writing a fictional book. Last night I finished up completing the cast of characters the book will use (though I am sure there will be other changes) and thought how I will begin the book. Now if you know any literary agents please send them my way please! If you have enjoyed my writing up to this point. 🙂

Anyway, back to the real world…..We needed to prevent changes being made by other threads when enumerating through our collection. Basically this prevented the threads from making changes while enumerations were occurring. It uses the concept of SyncLock to prevent these changes from being made.

Make it a great day!

Private Sub TimerFired() – happens every 1 second
    Dim x As Integer = 0
    SyncLock MySync.SyncObject
        Do While x <> MyList.Count – 1
            ODC = MyList(x)
            … condition 1: AddToMyList(ODC)
            … condition 2: RemoveFromMyList(x)
            x = x + 1
    End SyncLock
End Sub
Private Sub AddToMyList(var)
    SyncLock MySync.SyncObject
    End SyncLock
End Sub
Private Sub RemoveFromMyList(index)
    SyncLock MySync.SyncObject
    End SyncLock
End Sub

Technorati Tags: ,,,,,,,,,,,,

Leave a comment

It’s Cold Out Again

Leave a comment

20,000 PageView Milestone Reached

Hello everyone. Just wanted to drop a note that at 1:53PM CST time today this blog reached its 20,000 Pageview milestone since May 2008. Just wanted to say thank you and share some stats with you like I did at 10,000. Thank you for those of you that come here and have gotten to know me. I have actually enjoyed the experience. And I know a lot of you get more. But hey its just me and the fact that you came is so cool to me.

See you at 40,000!

Here are the stats….


The 20,000th pageview was made from someone in Carrollton, TX at IP address from Unimed Direct Llc. They visited the blog entry “Convert DataTable to a Generic List of Class with”. The were referred by Google of course at 

The averages are:

220 – pageviews a day
157 – unique visitors
145 – first time visitors
12 – returning visitors

The most popular pages are:!A0D71E1614E8DBF8!217.entry!A0D71E1614E8DBF8!647.entry!A0D71E1614E8DBF8!483.entry!A0D71E1614E8DBF8!880.entry!A0D71E1614E8DBF8!823.entry!A0D71E1614E8DBF8!215.entry!A0D71E1614E8DBF8!566.entry!A0D71E1614E8DBF8!261.entry!A0D71E1614E8DBF8!405.entry!A0D71E1614E8DBF8!368.entry!A0D71E1614E8DBF8!203.entry!A0D71E1614E8DBF8!362.entry!A0D71E1614E8DBF8!410.entry!A0D71E1614E8DBF8!400.entry!A0D71E1614E8DBF8!201.entry


The most popular browsers are:

41.60% IE 7.0 
22.00% IE 6.0 
20% Firefox 3.0 
11.20% IE 8.0 
1.80% Opera 9.6 
1.80% Chrome 1.0 
1.20% Default Browser 0 
0.60% Firefox 2.0 
0.40% Rippers 0 
0.40% Chrome 2.0 
0.20% Safari 3.2 
0.20% Safari 3.1 
0.20% K-Meleon 1.0 
0.20% Opera 9.5


Technorati Tags: ,,,,,,,,,,,,,,,,,,,,,,,,