| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

How To: Eine GUID mit VBScript erstellen

Page history last edited by Stefan Weber 15 years ago

Folgendes Script erstellt eine GUID

 

Set oTL = CreateObject("Scriptlet.TypeLib")
newGuid = Left(oTL.Guid,38)

 

Das Abschneiden der ersten 38 Zeichen ist notwendig, da die Guid Funktion am Ende noch irgendwas dranhängt. Bei jedem erneuten Aufruf der Guid Funktion wird eine neue GUID erstellt.

Comments (0)

You don't have permission to comment on this page.