>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.