Thanks, I recreated the project and rebuilt the app ALL IS WELL.
I build an exe and it fails with an error c:\prog...\Mic...Office\Office12\msword.olb not found.
we are using office 11. so I added the office11\msword.olb to the prOject (other files) and still get the message.
I don't know wjhat to do next. I don't refer to an olb file anywhere, although I do use office automation
Peter
>The error means that you have something duplicated in the project, most likely a class. Open Debugger before build and build log will be directed to the Debug Output window. See if there's anything helpful in it. If it doesn't help, create the project from scratch, add the main program and go from there.
>
>>Trying to create an exe from a working app:
>>
>>the build end with an exe created but with error code:
>>
>> 0x8002802d: Name already exists in the library
>>
>>the project has a startup file (kba.prg) but when i double click on the exe icon vfp prompts me for a prg in windoes finder dialog.
>>once I typein kba and press cr it oes on its merry way nad seems to work fine
>>
>>I don't know if those two problems are connected.
>>
>>I also now know why I stayed away from exe's all those decades :=)
>>
>>by the way when built and run as an app it works as intended
>>
>>
>>Thanks
>>
>>
>>Peter
Peter Cortiel