Why do Save() and SaveAs() have return values?

S

Samuel C. Yang

When using the Visio 2003 PIA, I notice that the signatures of the Save()
and SaveAs() methods have undocumented return values of type "short".
SaveAsEx(), on the other hand has no return value.

In my testing of SaveAs(), the return value was 0 when SaveAs() succeeds.
So the return value doesn't seem to be a success code.

Is this a bug or an undocumented feature?
 

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