This solution is really unlikely to help the OP because you have not taken into account what he might actually want a GUID for. You need to try to look at the bigger picture when answering questions because most are asking questions because they've got themselves in to a bit of confusion about something. Subsequently they may not ask the best question to get the answer they need.
*** Developer Day 4 in Reading, England on 2nd December 2006 - Registration Now Open *** Upcoming Scottish Developers events: * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog | Photos