How to disable AutoConnect in AxDrawingControl

  • Thread starter How to disable AutoConnect in AxDrawingC
  • Start date
H

How to disable AutoConnect in AxDrawingC

is there any way to disable AutoConnect in
AxMicrosoft.Office.Interop.VisOcx.AxDrawingControl ??
 
A

AlEdlund

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]...
 
T

thanks

thanks a lot

AlEdlund said:
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
 

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