Organization chart converter

K

Karen

Hello All,

My system is win Xp with visio 2003. I wrote a VB program to open Visio
files and print them out. I got one problem when the visio file was created
by earlier versions and it always asks to do the chart convertion. I am
wondering if there is a way to automatically answer yes and do the convertion
without bothering with the dialog showing up?

Thanks
Karen
 
C

Chris Roth [ Visio MVP ]

Check out Visio.Application.AlertResponse in the Visio Developer's help. I
am not sure if this will work, though, because the dialog probably comes
from the OrgChart Add-on, which runs inside of Visio but isn't Visio-proper.

Failing that, you might be able to get the dialog window with some WinAPI
scary stuff, then pull a SendKeys somehow. I dinked with this a bit, but
didn't get very far.

--

Hope this helps,

Chris Roth
Visio MVP
 

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