Cannot use MailTo or PrintPreview with Drawing Control

P

Phil Hazell

Hi,

I am building a custom app using the drawing control and I have been able to successfully call most Visio internal functions by referencing the application object and using DOCMD, but I cannot get this to work for PrintPreview or emailing.

The command constants I am using are:

PrintPreview: DoCmd(visCmdPrintPreview)
Email: DoCmd(visCmdSendAsMail)

In both cases I get "Requested Operation Is Presently Disabled"

Any suggestions?
 
Top