K
Kumar Pandey
We have developed a stencil and template file for custom drawing.
When a user opens a new document using that template and does the first
save, save as dialog
opens . I want to capture this event so that I can update the file name in
the text field to say
Drawing1.vdx ( we want the user to save it as .vdx).
How do I go about doing this? I handle
Visio.Application.BeforeDocumentSaveAs but this
gets invoked only after the save as dialog box is displayed.
Visio.Application.DocumentSavedAs(ByVal doc As IVDocument) gives me access
to the doc. However
doc.Name is a readonly field.
Basic requiremtent is to default the file extension to .vdx when a user
tries to save a new document as oppose to
the .vsd visio defaults to.
Thanks
Kumar Pandey
When a user opens a new document using that template and does the first
save, save as dialog
opens . I want to capture this event so that I can update the file name in
the text field to say
Drawing1.vdx ( we want the user to save it as .vdx).
How do I go about doing this? I handle
Visio.Application.BeforeDocumentSaveAs but this
gets invoked only after the save as dialog box is displayed.
Visio.Application.DocumentSavedAs(ByVal doc As IVDocument) gives me access
to the doc. However
doc.Name is a readonly field.
Basic requiremtent is to default the file extension to .vdx when a user
tries to save a new document as oppose to
the .vsd visio defaults to.
Thanks
Kumar Pandey