>>>
>>>Or the _VFP system variable.
>>
>>_VFP would be preferable as you'll find all open Project Manager windows.
>
>It may be better to to use the ActiveProject object to record the project file, and then release the project window. This way, in the event that something blows up badly, the chance of corrupting the project file is minimized. If all went well, the open projects could then be restored (re-opened) when the application exits.
>
hmmm...
I thought I was out of here, but this did not go without a hitch...
if !empty(this.activeproject)
modify project (this.activeProject)
endif
No code processes after the "modify project" line, and the program does not get totally shutdown unless I close the project manager (after it has been reopened).
Are there other ways to reopen the project in code?
Thanks,
Steve Gibson