Oh, yeah, and to get rid of the hidden project manager:
RELEASE WINDOW "Project Manager"
>The project has to be open. You can use MODIFY PROJECT (lcProjectName) NOSHOW to do this without the Project screen coming up, then your files count code will work.
>
>
>>I'm trying to use _VFP.Projects(lcProjectName).FILES.COUNT in a program to get the file count of a project, but I can't get it to work - I get the following error "Member 'name' does not evaluate to an object (Error 1943)". _VFP.Projects(1).FILES.COUNT works fine but it will display the count of the last project I had open.
>>
>>In MSDN, under "Projects Collection", it says I can do this either way. Am I missing something?
>>
>>Thanks.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05