B
Brian
Hi!
We have a .NET 2.0 WinForms Smart Client app built on Office System 2003.
In particular, we generate our diagrams in Visio 2003, which we embed inside
some of our WinForms.
One of the advantages of using Visio is that we can use the fancy multi-page
print capability.
We are close to getting the settings we wanted and invoking Visio's printing
functionality...
We can set some initial values for the page setup.
We can bring up the Visio PageSetup Dialog.
We can fire off a Print based on the current settings.
We have NOT been able to invoke the PrintPreview mode.
According to the SDK documentation we should be able to call:
Application.DoCmd(visCmdPrintPreview)
That enumeration is 1490.
But all we ever get back is an error dialog:
Requested operation is presently disabled.
Is this functionality not available in embedded mode?
It's listed as being available for Automation. Does that only mean from
VBA???
We have googled and found nothing.
Any advice greatly appreciated.
Thanks,
Brian
We have a .NET 2.0 WinForms Smart Client app built on Office System 2003.
In particular, we generate our diagrams in Visio 2003, which we embed inside
some of our WinForms.
One of the advantages of using Visio is that we can use the fancy multi-page
print capability.
We are close to getting the settings we wanted and invoking Visio's printing
functionality...
We can set some initial values for the page setup.
We can bring up the Visio PageSetup Dialog.
We can fire off a Print based on the current settings.
We have NOT been able to invoke the PrintPreview mode.
According to the SDK documentation we should be able to call:
Application.DoCmd(visCmdPrintPreview)
That enumeration is 1490.
But all we ever get back is an error dialog:
Requested operation is presently disabled.
Is this functionality not available in embedded mode?
It's listed as being available for Automation. Does that only mean from
VBA???
We have googled and found nothing.
Any advice greatly appreciated.
Thanks,
Brian