Storages & Files NewGUID
NewGUID method 

Returns a new GUID number. Can be used for component registrations (as Class ID), for custom security tokens and other scenarios where unique identifier may be needed.


variable = object.NewGUID


The GUID is returned in the so called "registry format" as string closed in { ... } brackets. Here is a sample string returned by the method: "{5FBF570E-354C-4ED0-BE11-85ACA9E6070A}".

Applies to: SFMain object

Supported on:

Windows 95/NT and later
Stub on Windows CE 3.0 and later
Stub on Pocket PC/Windows Mobile 2003 and later
Stub on Windows CE.NET 4 and later
Note: Stub versions return NULL GUID.


newObjects Copyright 2001-2006 newObjects [ ]