Thanks Sergey,
I found a VCX that was olepublic as part of the framework I use and your explanation makes sense to me.
>Your project most likely includes a class with OLEPUBLIC clause. It will cause VFP to build it as COM Server EXE. It requres access to the registry to write ProgID, etc. I guess VFP doesn't update registry if nothing has changed.
>
>>
>>I agree with you about the UAC and have been using "run as admin" to get around the problem. The weird thing is that now if I run VFP like normal and build the exe I don't get the problem! I even tried recompiling all files just to make sure and still no problem!
>>
>>Now I'm very confused, but happy it's working.
>>
>>