H
Helge
Dear Mr. Nelson,
I'm contacting you personally, because I hope you can help me. On 01/30/2008
I posted a question in this forum "Requested operation is presently
disabled", but I haven't received an answer yet.
On 29/01/2007 you wrote to this topic at
http://www.eggheadcafe.com/software/aspnet/29104316/error-message-requested.aspx
"Yes, this is an area where we need to publish more documentation. Not every
Visio command is enabled in every context."
Would it be possible to answer my question below ?
Thank you very much,
Helge
-----
I integrated the Visio 2007 ActiveX-Control into a WSS-WebPart.
I build a component that runs in IE and is initialized with the
ActiveX-Control.
For opening a stencil I do:
Page currentPage = m_document.Pages[1];
m_stencil =
m_drawingControl.Document.Application.Documents.OpenEx(stencilFile,
(short)VisOpenSaveArgs.visOpenDocked);
m_stencilWindow = m_document.OpenStencilWindow();
m_stencilWindow.Activate();
Following error occours:
System.Runtime.InteropServices.COMException (0x86DB089A):
Requested operation is presently disabled
in Microsoft.Office.Interop.Visio.DocumentClass.OpenStencilWindow()
It's strange, that everyting works fine outside a WebPart!
Can you help me ?
Thanx!
I'm contacting you personally, because I hope you can help me. On 01/30/2008
I posted a question in this forum "Requested operation is presently
disabled", but I haven't received an answer yet.
On 29/01/2007 you wrote to this topic at
http://www.eggheadcafe.com/software/aspnet/29104316/error-message-requested.aspx
"Yes, this is an area where we need to publish more documentation. Not every
Visio command is enabled in every context."
Would it be possible to answer my question below ?
Thank you very much,
Helge
-----
I integrated the Visio 2007 ActiveX-Control into a WSS-WebPart.
I build a component that runs in IE and is initialized with the
ActiveX-Control.
For opening a stencil I do:
Page currentPage = m_document.Pages[1];
m_stencil =
m_drawingControl.Document.Application.Documents.OpenEx(stencilFile,
(short)VisOpenSaveArgs.visOpenDocked);
m_stencilWindow = m_document.OpenStencilWindow();
m_stencilWindow.Activate();
Following error occours:
System.Runtime.InteropServices.COMException (0x86DB089A):
Requested operation is presently disabled
in Microsoft.Office.Interop.Visio.DocumentClass.OpenStencilWindow()
It's strange, that everyting works fine outside a WebPart!
Can you help me ?
Thanx!