Generating unique ID using GUID

Tuesday, August 05, 2008
By keiji
Category: .NET, Tips, VBscript
Sometimes I wanted to generate a unique ID. I often uses random number combined with date/time. But, recently I found better way of getting that.
The trick is to use "GUID". It is kind of guaranteed to generate a unique ID.

If you are using VBscript, then the function is like this:
public function GenGUID()
        dim TypeLib,strTG
        Set TypeLib = Server.CreateObject("Scriptlet.TypeLib")
        strTG = TypeLib.Guid
        GenGUID = mid(strTG, 2,len(strTG)-4)
        Set TypeLib = Nothing
end function

If you are using .NET language, then use the built-in function:
System.Guid.NewGuid.ToString()

Syntax Highlighting

Monday, January 14, 2008
By keiji
Now TakTrack support the Syntax Highlighting, using "Code Syntax Highlighter".

Code Syntax Highlighter.
Version 1.3.0
Copyright (C) 2004 Alex Gorbatchev.
http://www.dreamprojections.com/syntaxhighlighter/


Mapping

Wednesday, June 06, 2007
By keiji
This is a map using MS Virtual Earth. It was quite easy to incorporate the component.
To deal with multiple maps in one entry is a little tricky, though.

Dev Log Started

Monday, June 26, 2006
By keiji
I'm going to log about the development of the TakTrack system here.

The topics would be CSCW (Computer Supported Cooperative Work), Blogging System, CMS, HCI (Human-Computer Interaction: Usability/User Experience things), C#.NET, ASP.NET, JavaScript, XHTML, XML, XSLT, SQL, etc, etc, ... well, lots of things involved to develop a web based system!