Topic: Guide To Vbscript
Not finding your answer? Try searching the web for Guide To Vbscript
Answers to Common Questions
How to check if a string is a valid GUID in vbscript? GUID valida...
Function IsGuid(st) Dim re Set re = New RegExp re.Pattern = "^\{[\da-f]{8}(-[\da-f]{4}){3}-[\da-f]{12}\}$" re.IgnoreCase = True re.Global = False IsGuid = re.Test(st) Set re = Nothing End Function t... Read More »
Source: http://www.experts-exchange.com/Web_Development/Web_Languages-Sta...
How to generate a GUID in VBScript?
Function CreateGUID Dim TypeLib Set TypeLib = CreateObject("Scriptlet.TypeLib") CreateGUID = Mid(TypeLib.Guid, 2, 36) End Function This function will return a plain GUID, e.g., 47BC69BD-06A5-4617-B730-B644DBCD40A9. If you want a GUID in a r... Read More »
Source: http://stackoverflow.com/questions/968756/how-to-generate-a-guid-...