If you add at least one file to the project, and close it; it should not ask
for saving.
oFile = _VFP.ActiveProject.Files.Add("foxpro.h")
_VFP.ActiveProject.Close()

Tracy


> -----Original Message-----
> From: Lew Schwartz
> Sent: Friday, October 13, 2006 10:50 AM
>
> Question about automating project creation
>
> If I create a project via:
>
> Create project <projectname> nowait noshow
>
> The project files are actually created, but sooner or later
> VFP will generate a modal dialog asking to save it. Is there
> a way to program the save? (My work around is to save empty
> project files and use them as a template for new projects by
> copying the files to the new project name/location). -Lew
>




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to