SaveFile Dialog

V

Veronika Zenz

HI all,

I am trying to suppress the "save changes to file xx" dialog using
doc.saved = true;
Application.AlertResponse = 7;
doc.Close();
Application.AlertResponse = 0;

this works fine for documents without ole-links, but for those with
links i still get the dialog. - Any ideas?

thanks,
veronika
 
V

veronika

I am trying to suppress the "save changes to file xx" dialog using

I forgot to mention, that this happens on closing the drawing.

So to summarize: i'd like to close a drawing without being asked
wether changes should be saved.
 
V

veronika

just the document.saved = true
should work.

unfortunately it does not.

Cite Visio-SDK:
A document that contains embedded or linked OLE objects may report
itself as unsaved even if the document's Saved property is set to
True.
 
P

Paul Herber

unfortunately it does not.

Cite Visio-SDK:
A document that contains embedded or linked OLE objects may report
itself as unsaved even if the document's Saved property is set to
True.

I missed seeing your initial message, Google has found it for me, my
apologies.
 

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