Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get a unique object id
Message
De
23/08/2000 21:58:14
 
 
À
23/08/2000 17:49:31
Fernando España
Alta Tecnologia En Informatica
Guatemala, Guatemala
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00408539
Message ID:
00408589
Vues:
16
>1. How can I get a unique object id in a project or in a .exe file.
>
>2. How can I get the a fisical file name from a form included in a project or in a .exe file
>
>I need to get the previous aspects in run time.
>
>Thanks a lot

1) I don't know that objects have unique id's in VFP. I could be wrong (it's been known to happen <g>)
If you want to create a GUID yourself, check out this link for a VFP example of the CoCreateGUID API
http://support.microsoft.com/support/kb/articles/Q269/3/87.ASP
(VB example: http://support.microsoft.com/support/kb/articles/Q176/7/90.ASP)

2) Once a form has been instantiated, you can get the file name of a form using any object on that form and SYS(1271, oObject)

HTH
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform