sven2
04-28-2007, 12:03 PM
Hello,
I am currently trying to print a visio document directly from access.
It is my intension to do this without any intervention of the access user
(just click a button and thats it).
This is the code:
Shell ("C:\Program Files\Visio\Visio32.exe /p/h " & bestand), vbHide
fCloseApp ("VisioA")
So what is happening:
visio is opening
the document is also opening (bestand)
the api printscreen is appearing in visio
and there it stops. I still have to push the "OK" button in visio in order to start printing the document.
How can I avoid that I still have to push the "OK" button.
Best regards,
Sven.
I am currently trying to print a visio document directly from access.
It is my intension to do this without any intervention of the access user
(just click a button and thats it).
This is the code:
Shell ("C:\Program Files\Visio\Visio32.exe /p/h " & bestand), vbHide
fCloseApp ("VisioA")
So what is happening:
visio is opening
the document is also opening (bestand)
the api printscreen is appearing in visio
and there it stops. I still have to push the "OK" button in visio in order to start printing the document.
How can I avoid that I still have to push the "OK" button.
Best regards,
Sven.