Started a new project, the Main Program is "czmain.prg" in my programs
sub-folder.

On a Build I get:
The name of the object file for "d:\czhouston\programs\czmain.prg" is
already used by another program in the project.

Not in my project, any ideas?
Frank

Re: Duplicate program?? by Frank

Frank
Wed May 11 13:40:41 CDT 2005

Plus I changed the program name to a couple of different names and they
all rejected with the same message (with the new name)

Frank Smith wrote:
> Started a new project, the Main Program is "czmain.prg" in my programs
> sub-folder.
>
> On a Build I get:
> The name of the object file for "d:\czhouston\programs\czmain.prg" is
> already used by another program in the project.
>
> Not in my project, any ideas?
> Frank
>
>
>

RE: Duplicate program?? by Leemi

Leemi
Wed May 11 13:43:42 CDT 2005

Hi Frank:

Does issuing a CLOSE ALL and CLEAR ALL in the Command window help?
Have you tried searching the hard drive for multiple copies of the .FXP
file and deleting them?

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/

*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003

>Started a new project, the Main Program is "czmain.prg" in my programs
>sub-folder.

>On a Build I get:
>The name of the object file for "d:\czhouston\programs\czmain.prg" is
>already used by another program in the project.

>Not in my project, any ideas?
>Frank


Re: Duplicate program?? by Dan

Dan
Wed May 11 14:02:12 CDT 2005

This sort of error can happen if you've been testing and SUSPENDed to debug
something.

Type CANCEL in the command window to release the open file.

Dan

Frank wrote:
> Plus I changed the program name to a couple of different names and
> they all rejected with the same message (with the new name)
>
> Frank Smith wrote:
>> Started a new project, the Main Program is "czmain.prg" in my
>> programs sub-folder.
>>
>> On a Build I get:
>> The name of the object file for "d:\czhouston\programs\czmain.prg" is
>> already used by another program in the project.
>>
>> Not in my project, any ideas?
>> Frank



Re: Duplicate program?? by Frank

Frank
Wed May 11 14:42:27 CDT 2005

CLOSE ALL CLEAR ALL did nothing.
Searched all drives, no other copies of the PRG or FXP around.
Renamed the "Main" to something really strange - got the same error
message on doing a Build.

Lee Mitchell wrote:
> Hi Frank:
>
> Does issuing a CLOSE ALL and CLEAR ALL in the Command window help?
> Have you tried searching the hard drive for multiple copies of the .FXP
> file and deleting them?
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> Sincerely,
> Microsoft FoxPro Technical Support
> Lee Mitchell
>
> *-- VFP9 HAS ARRIVED!! --*
> Read about all the new features of VFP9 here:
> http://msdn.microsoft.com/vfoxpro/
>
> *--Purchase VFP 9.0 here:
> http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
> 69-4500-8bf2-3f06689f4ab3&type=ovr
>
> Keep an eye on the product lifecycle for Visual FoxPro here:
> http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
> - VFP5 Mainstream Support retired June 30th, 2003
> - VFP6 Mainstream Support retired Sept. 30th, 2003
>
>
>>Started a new project, the Main Program is "czmain.prg" in my programs
>>sub-folder.
>
>
>>On a Build I get:
>>The name of the object file for "d:\czhouston\programs\czmain.prg" is
>>already used by another program in the project.
>
>
>>Not in my project, any ideas?
>>Frank
>
>

Re: Duplicate program?? by Frank

Frank
Wed May 11 14:49:45 CDT 2005

Nope, even re-booted XP and the first thing I did after startup was to
try a Build... with same results.

Dan Freeman wrote:
> This sort of error can happen if you've been testing and SUSPENDed to debug
> something.
>
> Type CANCEL in the command window to release the open file.
>
> Dan
>
> Frank wrote:
>
>>Plus I changed the program name to a couple of different names and
>>they all rejected with the same message (with the new name)
>>
>>Frank Smith wrote:
>>
>>>Started a new project, the Main Program is "czmain.prg" in my
>>>programs sub-folder.
>>>
>>>On a Build I get:
>>>The name of the object file for "d:\czhouston\programs\czmain.prg" is
>>>already used by another program in the project.
>>>
>>>Not in my project, any ideas?
>>>Frank
>
>
>

RE: Duplicate program?? by BrianHiatt

BrianHiatt
Wed May 11 15:30:03 CDT 2005

Frank,
This happens to me if the program is listed twice in the Code tab of the
Project Manager. I have had this happen several times, but am not sure how
it happesn. Simply remove one of the entries from the list, but do not
delete it from the disk and it should be fine.

Regards
Brian Hiatt
www.collectorpro.com

"Frank Smith" wrote:

> Started a new project, the Main Program is "czmain.prg" in my programs
> sub-folder.
>
> On a Build I get:
> The name of the object file for "d:\czhouston\programs\czmain.prg" is
> already used by another program in the project.
>
> Not in my project, any ideas?
> Frank
>
>
>
>

Re: Duplicate program?? by Leemi

Leemi
Wed May 11 15:55:57 CDT 2005

Hi Frank:

You project might be corrupt. Have you tried creating a new project,
adding the main file, and building that project into an .APP or .EXE file?

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/

*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003

>CLOSE ALL CLEAR ALL did nothing.
>Searched all drives, no other copies of the PRG or FXP around.
>Renamed the "Main" to something really strange - got the same error
>message on doing a Build.

>Lee Mitchell wrote:
> Hi Frank:
>
> Does issuing a CLOSE ALL and CLEAR ALL in the Command window help?
> Have you tried searching the hard drive for multiple copies of the .FXP
> file and deleting them?
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> Sincerely,
> Microsoft FoxPro Technical Support
> Lee Mitchell
>
> *-- VFP9 HAS ARRIVED!! --*
> Read about all the new features of VFP9 here:
> http://msdn.microsoft.com/vfoxpro/
>
> *--Purchase VFP 9.0 here:
>
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
> 69-4500-8bf2-3f06689f4ab3&type=ovr
>
> Keep an eye on the product lifecycle for Visual FoxPro here:
> http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
> - VFP5 Mainstream Support retired June 30th, 2003
> - VFP6 Mainstream Support retired Sept. 30th, 2003
>
>
>>Started a new project, the Main Program is "czmain.prg" in my programs
>>sub-folder.
>
>
>>On a Build I get:
>>The name of the object file for "d:\czhouston\programs\czmain.prg" is
>>already used by another program in the project.
>
>
>>Not in my project, any ideas?
>>Frank
>
>





Re: Duplicate program?? by Cindy

Cindy
Wed May 11 16:33:24 CDT 2005

Hi Frank,

One thing no one else has suggested - open the PJX file as a table and have
a look around. Search for czmain.

--
Cindy Winegarden MCSD, Microsoft Visual Foxpro MVP
cindy_winegarden@msn.com www.cindywinegarden.com
Blog: http://spaces.msn.com/members/cindywinegarden


"Frank Smith" <colfrancis@earthlink.net.net> wrote in message
news:%237R8fBlVFHA.2196@TK2MSFTNGP09.phx.gbl...
> Started a new project, the Main Program is "czmain.prg" in my programs
> sub-folder.
>
> On a Build I get:
> The name of the object file for "d:\czhouston\programs\czmain.prg" is
> already used by another program in the project.
>
> Not in my project, any ideas?
> Frank
>
>
>