I usually init the control like this
m_visApp = Me.AxDrawingControl1.Window.Application
m_visDoc = Me.AxDrawingControl1.Document
m_visApp.Application.Settings.EnableAutoConnect = False
m_visWin = Me.AxDrawingControl1.Window
m_visWin.ShowGrid = False
m_visWin.ShowPageTabs = True
m_visWin.ShowRulers = False
m_visWin.ShowScrollBars = True
' make sure the control does not change the pagesizebehavior
Me.AxDrawingControl1.PageSizingBehavior =
VisPageSizingBehaviors.visNeverResizePages
al
"How to disable AutoConnect in AxDrawingC" <How to disable AutoConnect in
(e-mail address removed)> wrote in message
news:
[email protected]...