>What's in field OutFile for record 1 in your .pjx?
It contains Chr(0) and nothing else. What does record 1 really represent? I assumed it was just the record for the project itself, and really didn't govern where output was placed for the various files used by the project.
I also realised that none of the other records (except the menu record) have anything in the outfile field. The prg's all generate where they should, the forms generate where they should, and the classes generate where they should. Too, the menu record is also the only other record (other than the project record - record 1) that has data in the homedir field, and it shows the project directory.
Why would the menu be singled out for special treatment (ie - having data in the outfile and the homedir fields, and generating in the project directory)?
And just to reiterate so there is no misunderstanding, this project was created new in Version 6.
Alan
> >>Well, I'm not sure where this leaves us, because I have a number of projects which were never 2.6 projects. They were built fresh in 6.0 at various sp's, including sp5, and I have this problem every time. >> >>In fact while I was dealing with this the last few days I was using a project I created in VFP6 to test my changes to genmenu.prg, and before my changes, every time I rebuilt the project, it put the mpr in the project directory. Even if I moved it to the menus directory, it would then regenerate it into the project directory, and I'd end up with 2 copies of the mpr. >> >>If I bring up the pjx as a table, and check the menu record, the 'name' field shows "menus\mainmenu.mnx", and the outfile field shows "mainmenu.mpr". >> >>This particular project was never a 2.6 project. >> >>Clearly you're doing something different than I am. I can't imagine what it might be, but where it works for you, it doesn't for me. >> >>Alan >> >>>Yes, it does have to do with the conversion. A new 2.6 project has "