dbWriter Generate a GUID... ASP code
Generate a random GUID number/code:
First of all test your server with
dbWriter's Component checker to see if the TypeLib object is loaded.
Reload this page to see this code run: {C960E74B-B340-4C61-96AB-1C4C5A4C00D0}
<%
Function createGuid()DIM strGUID, objLIB
Set objLIB = Server.CreateObject("Scriptlet.TypeLib")
strGUID = objLIB.Guid
createGuid = left(objLIB, len(strGUID)-2)
Set objLIB = Nothing
End Function
%> |
|