Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create a GUID?
Message
De
22/08/2002 12:52:26
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00692332
Message ID:
00692532
Vues:
21
>>So, with the smallest GUID approach, I don't need to use the API, right?
>
>Right, you don't have to use API.
>>
>>I tried it and in order to get the proper string that I need, I have to do this:
>>
>>
>>oGUID = CreateObject("scriptlet.typelib")
>>? '{'+Strextract(oGUID.GUID, "{", "}" )+'}'
>>
>>
>>as the base value is having two weird characters at the end.

>
>Or shorter
? Strextract(oGUID.GUID, "", CHR(0))
This is much better. Thanks for your help
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform