visio addin

B

Bigursus

Hello
Can anybody know how i can add file extension to standart open/save dialog
box in addin generated in vb.net or maybe any other languages?
Thanks.
 
A

Al Edlund

well in vb6 it was in CommonDialog, in VB.net it is in OpenFileDialog.
VS.NET help has examples.
al
 
C

Chris [Visio MVP]

I think you want the Filter property. Here's an example:

Dim ofd As New OpenFileDialog
ofd.Filter = "Visio Files (*.vsd)|*.vsd|Visio XML Files (*.vsx)|*.vsx"
 

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