Project.Saved property read-only ?

S

SomeNewDev

Hi,

I've got following problem:
I'm adding/updating 'DocumentProperties' of a project, when it gets loaded
from a database. But I need the 'Saved' state of the project to be still
'true' after this action. This is because if somebody only wants to view a
document and closes it then (WITHOUT changing anything), the application (MS
Project) would always ask to save the changes ! There was no problem with
doing that for Word, Excel, Visio, Powerpoint,... coz their Saved-Property is
writable !

Even using .FileSave() right after adding/updating the 'DocumentProperties'
doesn't help. MS Project still asks for saving the changes when closing :?

Any idea how to handle such problem ?

Best regards.
 
S

SomeNewDev

Thx for the reply,

I knew that method, but my goal is not to close a project without any
questions.
What I need is a way to add/change the "DocumentProperties" without changing
the Saved-State of it ! Just like I can do in the other Office Applications
by a
simple .Saved=true...

Because I do these changes when a document gets loaded.. not closed.

Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top