How to close a External data window in Visio Drawing Control

S

shailendrasingh823

I need to close the External data window which sohowing some
unexpected values in Visio Drawing Control.

How can i close this External Data Window .

actually I am passing some empty string as a data file name but still
it's showing me some values.

Shail
 
J

JuneTheSecond

ActiveWindow.Windows.ItemFromID(visWinIDExternalData).Visible = False
might close external data window.
 
J

JuneTheSecond

On Drawing Control it might b
AxDrawingControl1.Document.Application.ActiveWindow.Windows.ItemFromID(visWinIDExternalData).Visible = False
 
J

JuneTheSecond

Sorry
AxDrawingControl1.Document.Application.ActiveWindow.Windows.ItemFromID(Microsoft.Office.Interop.Visio.VisWinTypes.visWinIDExternalData).Visible = False
 

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